🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #85388

Re: innd saslauthd auth

#85388
From: Russ Allbery
Date: Mon, 14 Jan 2013 17:05
25 lines
2455 bytes
Flibsy <flibsy@nltaal.nl> writes:

> 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.

It's because SASL is a thing that's implemented by its own library and,
when the client and server are using SASL, the application never needs to
know how the user is authenticating.  It just hands all the details off to
the SASL library, which does its thing.

When not using SASL, the application has to know how to do the
authentication, and currently INN doesn't know how to use saslauthd.  (But
does know how to hand a SASL exchange off to Cyrus SASL, which in turn
does use saslauthd if that exchange happens to involve passwords.)

There is probably some way for INN to use saslauthd directly from
ckpasswd, but I'm not sure if it's worth the effort when I believe there
are already PAM modules to do that and INN can already speak PAM.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <877gnfy9sf.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.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!usenet.stanford.edu!usenet-its.stanford.edu!.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> <kd0l4p$ta7$1@puck.litech.org> <50f3e2b6$0$6082$e4fe514c@dreader36.news.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <877gnfy9sf.fsf@windlord.stanford.edu>
Subject: Re: innd saslauthd auth
Date: Mon, 14 Jan 2013 09:05:52 -0800
From: Russ Allbery <rra@stanford.edu>
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> <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.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 25
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: usenet-its.stanford.edu 1358183152 24141 171.67.225.134 (14 Jan 2013
X-Complaints-To: news@usenet-its.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
Cancel-Lock: sha1:9KIIJ/+GTWChCIcKzdRusgRFMTk=
X-Original-Bytes: 2226