🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Gina Bull Wed, 12 Mar 2003 17:07
readers.conf
#64357
Author: Gina Bull
Date: Wed, 12 Mar 2003 17:07
44 lines
2575 bytes
I'm bringing up inn.2.3.3 on a Solaris 8 system. I'm having a problem 
figuring out readers.conf behavior. I'm getting it to distinguish
between our local and remote users; remote users should get a challenge
to authenticate. But then when nnrpd is provided with authinfo 
user/pass, the connection is simply closed. I do not see evidence that
ckpasswd has even attempted to run. (I put a wrapper on it to capture
input for debugging, and that isn't even run.) So my interpretation is 
that the auth stanza correctly causes a challenge by NOT having a 
default, but when information is given to nnrpd it doesn't run the auth 
program. Suggestions? Please help if you can -- I'm completely fuddled.

Here are the relevant stanzas. The hosts are for testing -- not what I'm 
really going to use:
auth "remote" {
     hosts: *.unix.virginia.edu
     auth: "/usr/local/news/bin/auth/passwd/ckpasswd -f 
/usr/news/db/authenticati
on/remotereaders"
     default-domain: "off-grounds"
}

auth "local" {
     hosts: "*.virginia.edu,!*.unix.virginia.edu"
     default: "<LOCAL>"
     default-domain: local
}
access "authenticated" {
     users: *@off-grounds
     newsgroups: "misc.test"
     access: RP
}

access "on-grounds" {
     users: "*@local"
     newsgroups: "*"
     access: RP
}

access "fail" {
     users: "<FAIL>@*"
     newsgroups: "!*"
}

Re: readers.conf
#64358
Author: Gina Bull
Date: Wed, 12 Mar 2003 18:08
16 lines
1765 bytes
I found out how to start logging, and this is what I  see:

Mar 12 13:00:19 rlb0p-test.itc.Virginia.EDU nnrpd[29869]: [ID 208180 
news.debug] node12.unix.virginia.edu auth starting authenticator 
/usr/local/news/bin/auth/passwd/ckpasswd -f 
/usr/news/db/authentication/remotereaders
Mar 12 13:00:19 rlb0p-test.itc.Virginia.EDU nnrpd[29869]: [ID 452021 
news.warning] node12.unix.virginia.edu times user 0.030 system 0.030 
elapsed 19.828

So it knows it should run it, but that's all -- it just disconnects. I'm
looking at any possible reason (permissions, etc) to account for this.

Please send clues if you have any!

Re: readers.conf
#64360
Author: Gina Bull
Date: Wed, 12 Mar 2003 18:59
11 lines
1553 bytes
Klaus Ellegaard wrote:
> The last line should probably read /usr/local/news/... instead of
> just /usr/news/... ?
> 
> Klaus.

Good suggestion -- and I double-checked to be sure, but the file
really is in /usr/news.


Re: readers.conf
#64359
Author: Gina Bull
Date: Wed, 12 Mar 2003 19:06
10 lines
1385 bytes
Klaus Ellegaard wrote:
> The last line should probably read /usr/local/news/... instead of
> just /usr/news/... ?

Good suggestion -- and I double-checked to be sure, but the file really
is in /usr/news

Gina

Re: readers.conf
#64361
Author: Gina Bull
Date: Wed, 12 Mar 2003 20:16
12 lines
1625 bytes
I got it! Argh! Yesterday I thought the binary wasn't being found, so
I specified the path in readers.conf. I subsequently got my access and
auth stanzas right, but the configuration still didn't work.

Turns out you can't put a path in. The authenticator must reside in
<pathbin>/auth/passwd (the man page actually says that, and mine does) 
AND you must not put a full pathname in the readers.conf file (I guess
that's implied)! I took out the path and now my config works.

Phew.

Re: readers.conf
#64367
Author: Jeffrey M. Vinocur
Date: Thu, 13 Mar 2003 03:32
14 lines
1450 bytes
In article <3E6F9593.2010203@virginia.edu>,
Gina Bull  <ginabull@virginia.edu> wrote:
>
>Turns out you can't put a path in. The authenticator must reside in
><pathbin>/auth/passwd (the man page actually says that, and mine does) 
>AND you must not put a full pathname in the readers.conf file (I guess
>that's implied)! I took out the path and now my config works.

Yes, this is definitely confusing.  It's been fixed in 2.4-to-be.

-- 
Jeffrey M. Vinocur
jeff@litech.org
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