πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #85368

Re: innd saslauthd auth

#85368
From: Jeffrey M. Vinocur
Date: Mon, 14 Jan 2013 10:03
46 lines
2830 bytes
In article <50f3c1ee$0$6052$e4fe514c@dreader36.news.xs4all.nl>,
Flibsy  <flibsy@nltaal.nl> wrote:
>On 13-1-2013 20:11, Julien Γ‰LIE wrote:
>
>Hi, thanks for your re!
>
>> Flibsy:
>>> I'd like to authenticate users using saslauthd (used to authenticate users
>>> for mail) but I do not know how to configure that in the auth:
>>> specification in readers.conf.
>>
>> For SASL authentication, INN currently (at least for 2.5.x versions)
>> does not use auth blocks.
>> When AUTHINFO SASL is used, the user name returned after a successful
>> authentication is directly used when matching access blocks.
>
>When you say 'AUTHINFO SASL is used', are you referring to a setting 
>somewhere in INN? Or do you mean the client issuing the command? When I 
>look into the client's debug log, I see no AUTHINFO SASL, just AUTHINFO 
>USER.

I think this is your problem.  The SASL support in INN/nnrpd is
for clients that know how to use AUTHINFO SASL.  Julien was
trying to help you through this.

However, if you want to use SASL as the backend to authenticate
clients using AUTHINFO USER, I think you have to approach it
differently.  Do you have PAM on your system?  Probably the
easiest thing is to use INN's "ckpasswd" in readers.conf, which
will call out to PAM, and then configure your PAM to check nnrpd
requests against SASL.


>Is this output ok?
>
>200 nltaal.nl InterNetNews NNRP server INN 2.5.2 ready (posting ok)
>AUTHINFO SASL rimap
>503 no mechanism available

That's a little strange, but irrelevant if you don't have a
client that can use AUTHINFO SASL, so let's set it aside for now.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <kd0l4p$ta7$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!news.stack.nl!news.litech.org!.POSTED!not-for-mail
References: <1485580280379731397.561900flibsy-nltaal.nl@newszilla.xs4all.nl> <kcv0te$3rg$1@news.trigofacile.com> <50f3c1ee$0$6052$e4fe514c@dreader36.news.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <kd0l4p$ta7$1@puck.litech.org>
Subject: Re: innd saslauthd auth
Date: Mon, 14 Jan 2013 10:03:05 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <1485580280379731397.561900flibsy-nltaal.nl@newszilla.xs4all.nl> <kcv0te$3rg$1@news.trigofacile.com> <50f3c1ee$0$6052$e4fe514c@dreader36.news.xs4all.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!news.stack.nl!news.litech.org!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 46
Sender: jeff@litech.org
NNTP-Posting-Host: mail.litech.org
X-Trace: puck.litech.org 1358157785 30023 204.16.242.142 (14 Jan 2013 10:03:05
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Mon, 14 Jan 2013 10:03:05 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)