🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #43788

Re: help: readers.conf, ckpasswd problem

#43788
From: Aidan Cully
Date: Sun, 30 Jan 2000 00:00
52 lines
2973 bytes
In news.software.nntp, Caroline Brunel <Caroline.Brunel@supaero.fr> wrote:
> Aidan Cully wrote:
> > > I would like the user named "brunel" having access to the news group
> > > "si.admin". My readers.conf file doesn't work. Is there a log file where
> > > I can see the names of the users who try to post news from a remote
> > > system  ?
> >
> > I think that if you specify a file for 'news.debug' on in your
> > syslog.conf, you'll see lots of verbose output that goes into a ton
> > of detail about what syslog.conf is or isn't doing...
> 
> ok, It works...
> I got this message:
> nnrpd[19424]: Reading config from /usr/local/news/etc/inn.conf
> nnrpd[19424]: SERVER perl filtering enabled
> soleil.supaero.fr connect
> Reading access from /usr/local/news/etc/readers.conf
> soleil.supaero.fr res starting resolver ident
> -------> soleil.supaero.fr bad_hook program exited with status 1 <--------
> soleil.supaero.fr res resolver failed
> soleil.supaero.fr res <FAIL>
> 
> "bad_hook program exited with status 1" : what does it mean?

ident authentication failed, which is what you want.  Actually,
the line you don't want to see is
> soleil.supaero.fr res <FAIL>
which means username resolution succeeded, and the username is <FAIL>.

Note that if you're running nnrpd in daemon mode, you'll need to
actually kill and restart the master process to pick up changes to
the readers.conf file.  This is broken, but it's more difficult for
me, and I have less time to fix problems like this since changing
jobs.

> > > I can't get ckpasswd working (no username nor passwd are asked).
> >
> > I suspect that this is the result of your reader not understanding
> > INN sending back a "481 Authentication required for command" string.
> > Have you tried running a trace against the nnrpd process associated
> > with your connection?  Or telnetting to port 119 and entering in
> > commands by hand?
> 
> How can I  have a trace of sent and received nnrpd commands between server
> and client in debug file ?

Depends on your OS.  I think BSD derived OSes have ktrace/kdump,
Linux has strace, and Solaris has truss, or something.

--aidan

Technical Details
Message-ID: <8706gq$gii$1@news.panix.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!not-for-mail
References: <388EA891.D58B5A15@supaero.fr> <86op1s$k3b$1@news.panix.com> <38900F2A.230CC@supaero.fr>

Show Full Headers
Complete Article Headers
Message-ID: <8706gq$gii$1@news.panix.com>
Subject: Re: help: readers.conf, ckpasswd problem
Date: Sun, 30 Jan 2000 00:00:00 +0000
From: aidan@panix.com (Aidan Cully)
References: <388EA891.D58B5A15@supaero.fr> <86op1s$k3b$1@news.panix.com> <38900F2A.230CC@supaero.fr>
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!not-for-mail
X-Deja-AN: 579364523
Distribution: inet
X-Complaints-To: abuse@panix.com
X-Trace: news.panix.com 949198170 16978 166.84.0.231 (30 Jan 2000 02:09:30 GMT)
Organization: Public Access Networks Corp.
NNTP-Posting-Date: 30 Jan 2000 02:09:30 GMT
Newsgroups: news.software.nntp