Article View: news.software.nntp
Article #61924Re: INN password file auth fail...
From: OniOn
Date: Tue, 12 Nov 2002 00:51
Date: Tue, 12 Nov 2002 00:51
81 lines
2898 bytes
2898 bytes
I have tried
ClientAuthname: john
ClientPassword: secret
^D
and it display
User: john
what should I do now?
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:aqpii3$njm$3@puck.litech.org...
> 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:
<aqpjam$t2q55@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!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!cuhk-bullish!newsgate.netvigator.com!imsp212.netvigator.com!not-for-mailReferences:
<aqodb1$7j97@imsp212.netvigator.com> <aqpii3$njm$3@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <aqpjam$t2q55@imsp212.netvigator.com> Subject: Re: INN password file auth fail... Date: Tue, 12 Nov 2002 08:51:34 +0800 From: "OniOn" <pcking@softhome.net> References: <aqodb1$7j97@imsp212.netvigator.com> <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!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!cuhk-bullish!newsgate.netvigator.com!imsp212.netvigator.com!not-for-mail Newsgroups: news.software.nntp Organization: IMS Netvigator Lines: 80 NNTP-Posting-Host: pcd316070.netvigator.com X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106