Article View: news.software.nntp
Article #85398Re: innd saslauthd auth
From: Flibsy
Date: Tue, 15 Jan 2013 16:31
Date: Tue, 15 Jan 2013 16:31
32 lines
2434 bytes
2434 bytes
On 13-1-2013 2:12, Flibsy wrote: > Hi folks, > > I have INND running on my FreeBSD server with some local groups, but > without authentication. > 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. > > So I would really appreciate some help. Ok, thanks to you guys I've got it basically working. As SASL is not the way to go when you can't control the capabilities of the news clients, I turned to implementing the auth: "ckpasswd -f /path/to/passwordfile" method for authenticating. This sh script (very basic) creates the passwordfile from the courier userdb, so all virtual mail accounts can authenticate with the news server: > #! /bin/sh > sed 's/\([^[:blank:]]*\).*systempw=\([^|]*\).*/\1:\2/' /usr/local/etc/userdb >/usr/local/news/etc/newspasswd.new > rm /usr/local/news/etc/newspasswd.old > mv /usr/local/news/etc/newspasswd /usr/local/news/etc/newspasswd.old > mv /usr/local/news/etc/newspasswd.new /usr/local/news/etc/newspasswd It works like a charm, couldn't have done it without you, thanks! -- Flibsy
Technical Details
Message-ID:
<50f5842e$0$6092$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!news.glorb.com!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!diablo1.news.osn.de!news.osn.de!diablo2.news.osn.de!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post2.news.xs4all.nl!newszilla.xs4all.nl!not-for-mailReferences:
<1485580280379731397.561900flibsy-nltaal.nl@newszilla.xs4all.nl>Show Full Headers
Complete Article Headers
Message-ID: <50f5842e$0$6092$e4fe514c@dreader36.news.xs4all.nl> Subject: Re: innd saslauthd auth Date: Tue, 15 Jan 2013 17:31:04 +0100 From: Flibsy <flibsy@nltaal.nl> 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!news.glorb.com!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!diablo1.news.osn.de!news.osn.de!diablo2.news.osn.de!news.tele.dk!news.tele.dk!small.news.tele.dk!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: <1485580280379731397.561900flibsy-nltaal.nl@newszilla.xs4all.nl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Lines: 32 NNTP-Posting-Host: 83.163.185.244 X-Trace: 1358267438 dreader36.news.xs4all.nl 6092 83.163.185.244:2459 X-Original-Bytes: 2218