🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50323

Re: sasl and nnrpd? 2.3.1

#50323
From: Russ Allbery
Date: Wed, 31 Jan 2001 12:45
39 lines
2855 bytes
Russell Virgilio <cyphen@telocity.com> writes:

> I would like to enable ssl for readers whose accounts reside on an
> internal kerberized server.  I have done the make cert during the
> initial install.  I have read the sasl man pages.  M y question is how
> to configure inn to allow incoming ssl connections.  After they have
> been ssl authenticated I want to poll an internal kerberized server with
> the username and password the user provides inn.  Do I run a seperate
> daemon for the ssl connections?

I'd recommend doing it that way; I think that will be easier.

> The only password authenticaion references I found in the install and
> subsequent man pages were in readers.conf and that was with a db
> database and shadow file.  Can anyone point me in the right direction?

You'll need to write a password authenticator that calls the appropriate
Kerberos calls to check the username and password; the easiest way to do
this is generally to attempt to get a TGT and then destroy it if you're
successful.

Take a look at ckpasswd source to see the protocol.

> My ultimate goal would be to accept any users without ssl authentication
> that reside on our intranet, and accept users from anywhere who can ssl
> in with usernames/passwords which are polled from our internal kerberos
> server.  We can insert kerberos hooks in the 2.3.1 code iif it comes
> down to that.

Shouldn't need to; only the external authenticator should have to know
about Kerberos.  Easiest way to do this is to run a regular nnrpd on 119
(or let innd spawn it, whichever you prefer) with a readers.conf file that
only allows IP-based authentication and just allows acccess to your
intranet, and a separate nnrpd in SSL mode with a separate readers.conf
that spawns your Kerberized password checker.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <ylr91jyjnw.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.mesh.ad.jp!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <3A773948.5DB9B584@telocity.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylr91jyjnw.fsf@windlord.stanford.edu>
Subject: Re: sasl and nnrpd? 2.3.1
Date: Wed, 31 Jan 2001 12:45:39 +0000
From: Russ Allbery <rra@stanford.edu>
References: <3A773948.5DB9B584@telocity.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.mesh.ad.jp!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 38
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 980945139 15504 171.64.13.23 (31 Jan 2001 12:45:39 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)