ckpasswd in readers.conf

Forrest Aldrich forrie at forrie.com
Thu Sep 9 02:16:08 UTC 2004


I've been toiling with this per the documentation and am a little stuck 
in how to get id/pwd authentication working correctly.

I'm on FreeBSD-4.10 and have used the "inn-stable" port, which has 
support for PAM and SASL.

Here's an example of the config I've been testing.  Note:  I've been 
able to run "ckpasswd" from the command line (as suggested in the 
manpage) and it successfully authenticates.

####################################

auth "remote-ips" {
        hosts: "x.x.x.0/24"
        auth: "ckpasswd -f /usr/local/news/etc/passwd.local"
        default: "<FAIL>"
        default-domain: "domain.net"
}

access "remote-ips" {
        users: "*@domain.net"
        newsgroups: "*, !control, !junk"
        nnrpdauthsender: true
}

auth "local-ips" {
        hosts:  "192.168.64.0/24"
        auth: "ckpasswd -f /usr/local/news/etc/passwd.local"
        default: "<FAIL>"
        default-domain: "domain.net"
}

access local-ips {
        users: "*@domain.net"
        newsgroups: "*, !control, !junk"
        nnrpdauthsender: true
}

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

########################################

I got this example from the manpage.  I imagine there are several 
variations of this I could use.

The problem is that it doesn't authenticate via the normal 
procedure/means.   If I remove this authentication and add "access:  RP" 
it will work.

Is it me or is the manpage a little confusing? ;-)

Eventually I'd like to interface with PAM and mysql - I just tested a 
basic user-account PAM authentication and it works.  So I think I'm 
almost "there".

Someone share their config?   I expect to be supporting a huge userbase 
(1000's) at some point in the near future.



Thanks.






More information about the inn-workers mailing list