Article View: news.software.nntp
Article #85369Re: innd saslauthd auth
From: Flibsy
Date: Mon, 14 Jan 2013 10:49
Date: Mon, 14 Jan 2013 10:49
60 lines
3597 bytes
3597 bytes
On 14-1-2013 11:03, Jeffrey M. Vinocur wrote: > 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. Aha. Well, as the news agents used are quite diverse, that means the AUTHINFO SASL route is completely useless. > 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. Yes, PAM is there all right, so that should be possible. I will go there then. >> 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. I tried other mechanisms too, but same result. But indeed it doesn't matter now. It seems strange to me though, I wouldn't have thought the client would have anything to do with the strategy the server uses to authenticate the user/password. Thanks for your clarification and suggestions, I will off course let you know the results. -- Flibsy
Technical Details
Message-ID:
<50f3e2b6$0$6082$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.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!multikabel.net!newsfeed20.multikabel.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post2.news.xs4all.nl!newszilla.xs4all.nl!not-for-mailReferences:
<1485580280379731397.561900flibsy-nltaal.nl@newszilla.xs4all.nl> <kcv0te$3rg$1@news.trigofacile.com> <50f3c1ee$0$6052$e4fe514c@dreader36.news.xs4all.nl> <kd0l4p$ta7$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <50f3e2b6$0$6082$e4fe514c@dreader36.news.xs4all.nl> Subject: Re: innd saslauthd auth Date: Mon, 14 Jan 2013 11:49:52 +0100 From: Flibsy <flibsy@nltaal.nl> References: <1485580280379731397.561900flibsy-nltaal.nl@newszilla.xs4all.nl> <kcv0te$3rg$1@news.trigofacile.com> <50f3c1ee$0$6052$e4fe514c@dreader36.news.xs4all.nl> <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.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!multikabel.net!newsfeed20.multikabel.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post2.news.xs4all.nl!newszilla.xs4all.nl!not-for-mail User-Agent: Mozilla/5.0 (Windows NT 5.1; MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <kd0l4p$ta7$1@puck.litech.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Lines: 60 NNTP-Posting-Host: 83.163.185.244 X-Trace: 1358160566 dreader36.news.xs4all.nl 6082 83.163.185.244:2652 X-Original-Bytes: 3436