🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Alain Hamel Tue, 11 Mar 2003 18:31
readers.conf problem
#64351
Author: Alain Hamel
Date: Tue, 11 Mar 2003 18:31
57 lines
2790 bytes
Hi,

I try to set a server for authanticated user only.  I have put those 
setting in my readers.conf file.

auth "localhost" {
    hosts: "localhost, 127.0.0.1, stdin"
    default: "<localhost>"
}
access "localhost" {
    users: "<localhost>"
    newsgroups: "*"
    access: "RPA"
}

auth "everyone" {
#        hosts: "*, !localhost, !127.0.0.1, !stdin"
        user: "ckpasswd -f /usr/local/news/db/newsusers"
        default: "<everyone>"
}
access "everyone" {
        users: "<everyone>"
        newsgroups: "local.*"
        access: "RP"
}

Everytime I try to get the ckpasswd line in to check at user account I 
get no connection.  There is what I get in my log.


Mar 11 12:54:32 lost nnrpd[29397]: [ID 120785 news.debug] Reading config 
from /usr/local/news/etc/inn.conf
Mar 11 12:54:32 lost nnrpd[29397]: [ID 998472 news.warning] 
lost.somedomain.com connect
Mar 11 12:54:32 lost nnrpd[29397]: [ID 572399 news.debug] Reading access 
from /usr/local/news/etc/readers.conf
Mar 11 12:54:32 lost nnrpd[29397]: [ID 294702 news.debug] Auth strategy 
'localhost' does not match client.  Removing.
Mar 11 12:54:32 lost nnrpd[29397]: [ID 936603 news.error] 
lost.somedomain.com syntax error in 
/usr/local/news/etc/readers.conf(13), Unexpected token.
Mar 11 12:54:32 lost nnrpd[29397]: [ID 452021 news.warning] 
lost.somedomain.com times user 0.010 system 0.030 elapsed 0.009

If I uncomment the host line and comment user in the everyone auth 
everything works without passwd checcking.  But as soon as I put the 
ckpasswd line in I allways get that unexpected token... What does it 
mine?  What is wrong in my setup?

Thanks,

Alain




Re: readers.conf problem
#64355
Author: The 2-Belo
Date: Tue, 11 Mar 2003 23:54
25 lines
2791 bytes
Alain Hamel wrote:

>        user: "ckpasswd -f /usr/local/news/db/newsusers"

This should read

        auth: "ckpasswd -f /usr/local/news/db/newsusers"



-- 
The 2-Belo
the2belo[AT]wave[HYPHEN]net[DOT]or[DOT]jp
news:alt.alien.vampire.flonk.flonk.flonk (mhm21x20)
news:alt.fan.karl-malden.nose (Meow.)

"And so, in my State of the -- my State of the Union -- or 
 state -- my speech to the nation, whatever you want to call 
 it, speech to the nation -- I asked Americans to give 4,000 
 years -- 4,000 hours over the next -- the rest of your life
 -- of service to America. That's what I asked -- 4,000 
 hours." 
          --George W. Bush, Bridgeport, Conn., April 9, 2002

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