NNRP Perl Auth and LDAP Authentication
Jeffrey M. Vinocur
jeff at litech.org
Mon Feb 25 18:37:25 UTC 2002
On Mon, 25 Feb 2002, Sundaram Divya-QDIVYA1 wrote:
> Thanks for all the help in getting the INN based news server
> set up. I have a couple of other questions.
I believe you are using 2.3.x -- if not, the below information is wrong.
> In inn.conf, I saw the following:
>
> nnrpperlauth: false
>
> I assumed that this is what I'd be able to use to authenticate
> users with a Perl script using Mozilla::LDAP::Conn module.
Yes, if you set that to true, you can use perl scripts. Some
documentation is in the doc/hook-perl file (or instead you could do
`perldoc doc/pod/hook-perl.pod`).
> Where can I find documentation on how to use this feature
> and is this the feature that I should be using to authenticate
> users?
Well, you could. However, it would be much less work, if you are on a
system which supports PAM, to use pamckpasswd in readers.conf and
configure your PAM to use LDAP.
You can get pamckpasswd from http://www.mathie.cx/~graeme/software.shtml
> Also, does setting this to true totally make irrelevant the
> information in readers.conf file?
Yes. If you would like to combine perl authentication and readers.conf,
you could try using the 2.4 prerelease (called "CURRENT" on the ftp site)
which has support for this.
--
Jeffrey M. Vinocur
jeff at litech.org
More information about the inn-workers
mailing list