Thread View: news.software.nntp
4 messages
4 total messages
Started by Caroline Brunel
Wed, 26 Jan 2000 00:00
help: readers.conf, ckpasswd problem
Author: Caroline Brunel
Date: Wed, 26 Jan 2000 00:00
Date: Wed, 26 Jan 2000 00:00
39 lines
1732 bytes
1732 bytes
Hello,
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 can't get ckpasswd working (no username nor passwd are asked). As I
try to subscribe to newsgroup I get the following error message: "An
error occured with the news server. If you are enable to connect again
contact the administrator for this server." (the problem is: I AM the
administrator...).
Here is my readers.conf file:
auth "mydomain.com" {
hosts: "*.mydomain.com"
res: "ident"
auth: "ckpasswd"
}
access "admin" {
users: "brunel@mydomain.com"
newsgroups: "si.admin"
access: "Read Post"
}
access "disallowed" {
users: "*@mydomain.com"
newsgroups: "*,!si.admin"
access: "Read Post"
}
Thanks,
Caroline
Re: help: readers.conf, ckpasswd problem
Author: Caroline Brunel
Date: Thu, 27 Jan 2000 00:00
Date: Thu, 27 Jan 2000 00:00
41 lines
2304 bytes
2304 bytes
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? > > > > 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 ? -- caroline
Re: help: readers.conf, ckpasswd problem
Author: Aidan Cully
Date: Thu, 27 Jan 2000 00:00
Date: Thu, 27 Jan 2000 00:00
28 lines
1900 bytes
1900 bytes
In news.software.nntp, Caroline Brunel <Caroline.Brunel@supaero.fr> wrote: > Hello, > > 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... > I can't get ckpasswd working (no username nor passwd are asked). As I > try to subscribe to newsgroup I get the following error message: "An > error occured with the news server. If you are enable to connect again > contact the administrator for this server." (the problem is: I AM the > administrator...). 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? I've found those tactics invaluable. --aidan
Re: help: readers.conf, ckpasswd problem
Author: Aidan Cully
Date: Sun, 30 Jan 2000 00:00
Date: Sun, 30 Jan 2000 00:00
52 lines
2973 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads