Article View: news.software.nntp
Article #78879Re: INN 2.4.3 Question on Authentication (AUTHINFO)
From: Julien ÉLIE
Date: Thu, 10 Apr 2008 12:55
Date: Thu, 10 Apr 2008 12:55
58 lines
2677 bytes
2677 bytes
Hi Tim,
> Thanks! I think I understand what you're doing here - but why doesn't
> your access "users-ssl" block match all users and thus allow all users
> to read and post?
An error of myself. A "better" sample in the same idea of what I suggested
would be with the key: parameter.
auth "users" {
hosts: "*"
default: "<all>"
key: "users"
}
auth "users-ssl" {
hosts: "*"
auth: "ckpasswd -f /home/news/etc/users-ssl"
}
access "users" {
users: "<all>"
key: "users"
newsgroups: "*"
access: R
}
access "users-ssl" {
newsgroups: "*"
strippath: "true"
access: RPA
}
You can also add
key: "users-ssl"
to the other blocks but it is not necessary.
Perhaps the use of the key: parameter is the easiest way to
understand the matching auth/access groups (at least, we know
exactly where the user will be linked).
> I guess my question is: why don't you need:
>
> access "users-ssl" {
> users: "*, !<all>"
> ...
> }
Yes, it is also a solution.
--
Julien ÉLIE
« -- Je ne comprends pas comment quelques gouttes de pluie peuvent...
-- Évidemment, tu ne te mouilles pas beaucoup dans cette affaire. » (Astérix)
Technical Details
Message-ID:
<ftl2np$82d$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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mailReferences:
<qo9qv39vq5i1i0bp6binua9f610b2rm6mh@4ax.com> <ftjae7$q1d$1@news.trigofacile.com> <indqv3lan958qdct9sbbqhfplt41o80v8m@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <ftl2np$82d$1@news.trigofacile.com> Subject: Re: INN 2.4.3 Question on Authentication (AUTHINFO) Date: Thu, 10 Apr 2008 14:55:03 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <qo9qv39vq5i1i0bp6binua9f610b2rm6mh@4ax.com> <ftjae7$q1d$1@news.trigofacile.com> <indqv3lan958qdct9sbbqhfplt41o80v8m@4ax.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 58 NNTP-Posting-Host: goret.via.ecp.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1207832121 8269 138.195.145.8 (10 Apr 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Thu, 10 Apr 2008 12:55:21 +0000 (UTC) In-Reply-To: <indqv3lan958qdct9sbbqhfplt41o80v8m@4ax.com> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000