Article View: news.software.nntp
Article #87135Re: INN auth via SASL over SSL
From: The Doctor
Date: Fri, 23 Oct 2015 22:37
Date: Fri, 23 Oct 2015 22:37
50 lines
2260 bytes
2260 bytes
In article <n0e4nh$2au$1@news.trigofacile.com>,
=?UTF-8?Q?Julien_=c3=89LIE?= <iulius@nom-de-mon-site.com.invalid> wrote:
>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: *
>}
>
In this case, the user has to log in no access.
>
>
>--
>Julien ÉLIE
>
>« Pour célébrer ce jour heureux, buvons un coup, buvons-en deux. »
> (Aristophane)
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Canada Get out and Vote Oct 19 2015!!
Technical Details
Message-ID:
<n0ecra$98h$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-mailReferences:
<n0did3$fgn$1@ns2.nl2k.ab.ca> <n0e0gn$tc8$1@news.trigofacile.com> <n0e0j7$rue$1@ns2.nl2k.ab.ca> <n0e4nh$2au$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <n0ecra$98h$1@ns2.nl2k.ab.ca> Subject: Re: INN auth via SASL over SSL Date: Fri, 23 Oct 2015 22:37:30 +0000 From: doctor@doctor.nl2k.ab.ca (The Doctor) References: <n0did3$fgn$1@ns2.nl2k.ab.ca> <n0e0gn$tc8$1@news.trigofacile.com> <n0e0j7$rue$1@ns2.nl2k.ab.ca> <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-mail Newsgroups: news.software.nntp Organization: NetKnow News Injection-Date: Fri, 23 Oct 2015 22:37:30 +0000 (UTC) Injection-Info: ns2.nl2k.ab.ca; posting-host="doctor.nl2k.ab.ca:204.209.81.1"; logging-data="9489"; mail-complaints-to="usenet@ns2.nl2k.ab.ca" X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: doctor@doctor.nl2k.ab.ca (The Doctor) X-Received-Body-CRC: 2311164090 X-Received-Bytes: 2245