🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #85359

Re: innd saslauthd auth

#85359
From: Julien ÉLIE
Date: Sun, 13 Jan 2013 19:11
55 lines
3042 bytes
Hi 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.

So basically, you just have to properly configure your saslauthd daemon,
and it should be OK.


Another point:  INN must have been configured for SASL support.
If you "telnet your.news.server 119", have a look at the
"AUTHINFO USER SASL" line in response to the CAPABILITIES command (after
maybe a MODE READER command):

20:06 news@trigo ~% telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
200 news.trigofacile.com InterNetNews server INN 2.6.0 (20120528 prerelease) ready (transit mode)
MODE READER
200 news.trigofacile.com InterNetNews NNRP server INN 2.6.0 (20120528 prerelease) ready (posting ok)
CAPABILITIES
101 Capability list:
VERSION 2
IMPLEMENTATION INN 2.6.0 (20120528 prerelease)
AUTHINFO USER SASL
HDR
IHAVE
LIST ACTIVE ACTIVE.TIMES COUNTS DISTRIB.PATS DISTRIBUTIONS HEADERS MODERATORS MOTD NEWSGROUPS OVERVIEW.FMT SUBSCRIPTIONS
OVER
POST
READER
SASL GSSAPI OTP PLAIN NTLM LOGIN DIGEST-MD5 CRAM-MD5
STARTTLS
..
QUIT
205 Bye!
Connection closed by foreign host.





Knowing that fact, is SASL auth now working on your server?

-- 
Julien ÉLIE

« Ex nihilo nihil. » (Perse)
Technical Details
Message-ID: <kcv0te$3rg$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!news.glorb.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-652-1-231-33.w83-112.abo.wanadoo.fr!not-for-mail
References: <1485580280379731397.561900flibsy-nltaal.nl@newszilla.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <kcv0te$3rg$1@news.trigofacile.com>
Subject: Re: innd saslauthd auth
Date: Sun, 13 Jan 2013 20:11:41 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <1485580280379731397.561900flibsy-nltaal.nl@newszilla.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.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!news.glorb.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-652-1-231-33.w83-112.abo.wanadoo.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 13 Jan 2013 19:11:42 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="aaubervilliers-652-1-231-33.w83-112.abo.wanadoo.fr:83.112.238.33";
 logging-data="3952"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8;
In-Reply-To: <1485580280379731397.561900flibsy-nltaal.nl@newszilla.xs4all.nl>
Lines: 54
X-Original-Bytes: 2766