Article View: news.software.nntp
Article #72138Re: need some help with INN authenticication and readers.conf...
From: Christian Hoffmann
Date: Tue, 09 Aug 2005 11:29
Date: Tue, 09 Aug 2005 11:29
74 lines
3283 bytes
3283 bytes
Jeffrey M. Vinocur wrote:
>>
>>Is the meaning of e.g. "<name>" a variable (like e.g. "%U" in smb.conf),
>>an example (like e.g. "foo.bar") or a placeholder for a variable? Is
>><defuser> also a variable/example/variable's placeholder or is it
>>different?
>
>
> I'm not quite sure what you mean here. Your system should have
> an example readers.conf already installed that's going to be
> better than anything I can do off the top of my head.
>
Hi Jeffrey,
Maybe it is too obvious for native speakers, but I'm afraid I need it
more verbose. My problem in understanding the manpage is like some folks
write "... use <name>@<domain>.<tld>" and actually mean "... use
helmut@brcwcs.org". Is e.g. "<FAIL>" reserved somehow or can I also use
"<SOMETHING_ELSE>"?
I would not ask this stupid question if my readers.conf (it's indeed the
modified example, but I try to force users to authenticicate against a
separate password file...) would be working as expected:
---------------------------------------------------------------------
# Default authorization: None
auth "default" {
default: "<FAIL>"
default-domain: "brcwcs.org"
}
# if e.g. helmut tries to login from the physical
# intranet he is assigned the identity "helmut@intranet.brcwcs.org"
auth "intranet" {
hosts: "192.168.110.0/24"
auth: "ckpasswd -d /home/news/readers_intranet.auth"
default: "<FAIL>"
default-domain: "intranet.brcwcs.org"
}
# folks from the intranet are allowed everything
# on all newsgroups
access "intranet" {
users: "*@intranet.brcwcs.org"
newsgroups: "*"
access: "RPA"
{
# all others are allowed nothing
access "fail" {
users: "<FAIL>@*"
newsgroups: "!*"
}
---------------------------------------------------------------------
Result: Helmut is asked for a password. The password is accepted but
helmut is allowed nothing.
I have never been prompted for a password and allowed everything.
What is wrong? Or should I search for a bug somewhere else?
Thank You for all the answers!
Christian
Technical Details
Message-ID:
<3lric7F13u75rU1@individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.tiscali.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<3lr48bF13hc32U1@individual.net> <dd9r4n$96r$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <3lric7F13u75rU1@individual.net> Subject: Re: need some help with INN authenticication and readers.conf... Date: Tue, 09 Aug 2005 13:29:03 +0200 From: Christian Hoffmann <brcwcs@gmx.net> References: <3lr48bF13hc32U1@individual.net> <dd9r4n$96r$1@puck.litech.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.tiscali.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.nntp Lines: 74 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net YtdrByE5LZr09PdJfw2qJwRnG/scPj/oDPwxsqfU//c8AsGfMx User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; X-Accept-Language: en-us, en In-Reply-To: <dd9r4n$96r$1@puck.litech.org>