Article View: news.software.nntp
Article #61923Re: INN password file auth fail...
From: Jeffrey M. Vinocur
Date: Tue, 12 Nov 2002 00:38
Date: Tue, 12 Nov 2002 00:38
63 lines
2601 bytes
2601 bytes
In article <aqodb1$7j97@imsp212.netvigator.com>,
OniOn <pcking@softhome.net> wrote:
>I want to use password authorization but fail.... would u please help~?
Are you sure /etc/passwd.nntp is in the right format and that you
entered the correct username and password?
Try running ckpasswd on the commandline, and entering
ClientAuthname: john
ClientPassword: secret
^D
(with whatever username and password you expect to work).
>Nov 11 21:58:02 server nnrpd[4271]: Auth strategy 'localhost' does not match
>client. Removing.
Huh, you didn't show all of your readers.conf, I think. No
matter.
>Nov 11 21:58:02 server nnrpd[4271]: 192.168.1.2 res <pub>
>Nov 11 21:58:02 server nnrpd[4271]: 192.168.1.2 no_match_user <pub> nesta
>Nov 11 21:58:02 server nnrpd[4271]: 192.168.1.2 match_user <pub> *
Ok, looks fine so far.
>Nov 11 21:58:02 server nnrpd[4271]: 192.168.1.2 auth starting authenticator
>/usr/bin/auth/passwd/ckpasswd -f /etc/passwd.nntp
>Nov 11 21:58:02 server nnrpd[4271]: 192.168.1.2 bad_hook program exited with
>status 1
Did you check the news.notice error log for other messages? What
about $pathlog/errlog? It really should have printed an error
message somewhere.
>auth pub {
> auth: "/usr/bin/auth/passwd/ckpasswd -f /etc/passwd.nntp"
> default: <pub>
>}
Are you sure you want that default there? It means that anyone
will be able to read and post to all groups without
authenticating.
>access pub {
> users: *
> newsgroups: pub
> access: RP
>}
You don't need "access: RP" since that's the default.
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<aqpii3$njm$3@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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mailReferences:
<aqodb1$7j97@imsp212.netvigator.com>Show Full Headers
Complete Article Headers
Message-ID: <aqpii3$njm$3@puck.litech.org> Subject: Re: INN password file auth fail... Date: Tue, 12 Nov 2002 00:38:27 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <aqodb1$7j97@imsp212.netvigator.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 62 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1037061507 24182 66.218.0.75 (12 Nov 2002 00:38:27 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Tue, 12 Nov 2002 00:38:27 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)