Article View: news.software.nntp
Article #87133Re: INN auth via SASL over SSL
From: Julien ÉLIE
Date: Fri, 23 Oct 2015 20:18
Date: Fri, 23 Oct 2015 20:18
38 lines
2090 bytes
2090 bytes
Hi The Doctor,
>> You just have to make sure there is a relevant access block that matches
>> the username of the SASL-authenticated client.
>
> An example please.
With the following example, successfully authenticated clients will have
access to all your newsgroups (otherwise, only fr.test).
When using AUTHINFO SASL (similarly to AUTHINFO USER), a username is
given, and it is the one that subsequent access blocks in readers.conf
try to match.
auth anonymous {
hosts: "*"
default: "anonymous"
}
access restricted {
users: "anonymous"
newsgroups: "fr.test"
}
access full {
users: "*,!anonymous"
newsgroups: *
}
--
Julien ÉLIE
« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
(Aristophane)
Technical Details
Message-ID:
<n0e4nh$2au$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.(19219).mbox.7z!not-for-mailReferences:
<n0did3$fgn$1@ns2.nl2k.ab.ca> <n0ds8g$oli$1@news.trigofacile.com> <n0dvu7$r9q$1@ns2.nl2k.ab.ca> <n0e0gn$tc8$1@news.trigofacile.com> <n0e0j7$rue$1@ns2.nl2k.ab.ca>Show Full Headers
Complete Article Headers
Message-ID: <n0e4nh$2au$1@news.trigofacile.com> Subject: Re: INN auth via SASL over SSL Date: Fri, 23 Oct 2015 22:18:57 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <n0did3$fgn$1@ns2.nl2k.ab.ca> <n0ds8g$oli$1@news.trigofacile.com> <n0dvu7$r9q$1@ns2.nl2k.ab.ca> <n0e0gn$tc8$1@news.trigofacile.com> <n0e0j7$rue$1@ns2.nl2k.ab.ca> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 23 Oct 2015 20:18:57 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-154-39.w86-212.abo.wanadoo.fr:86.212.193.39"; logging-data="2398"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <n0e0j7$rue$1@ns2.nl2k.ab.ca> X-Received-Body-CRC: 587816836 X-Received-Bytes: 2072