Article View: news.software.nntp
Article #68985Re: perl_auth
From: Mason Sin-Fai Leung
Date: Wed, 14 Apr 2004 00:00
Date: Wed, 14 Apr 2004 00:00
27 lines
2280 bytes
2280 bytes
On Tue, 13 Apr 2004, Jeffrey M. Vinocur wrote: > >I can't control posting via filter_nnrpd.pl, but not sure why > >nnrpd_auth.pl never loads. I am trying to use ldap to authenticate users > >when they first connect to the news server. I look into nnrpd_auth.pl and > >it looks like I can load a DB in nnrpd_auth.pl. > > This all sounds good. Does your nnrpd_auth.pl define functions > as described in the "Perl Authentication Support for nnrpd" of > doc/hook-perl? > Ya, I have both auth_init() and authenticate() defined. Both functions follow the default nnrpd_auth.pl. One thing is strange is the %attributes hash is empty. My news reader does supply password and login and I can even see the login name in /log/news.notice. Any idea? Thanks for your prompt Jeffrey > > >Presumably, I can use ldap there? Any pointer? Thanks. > > For what it's worth, we access LDAP by using the ckpasswd > authenticator, which has support for PAM; and we use the PAM LDAP > support that came with the operating system. > > >
Technical Details
Message-ID:
<Pine.LNX.4.44.0404131655370.4681-100000@pc36.cs.ucdavis.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!128.32.206.55!newsfeed.berkeley.edu!ucberkeley!ihnp4.ucsd.edu!ucdavis!pc36.cs.ucdavis.edu!leungmReferences:
<c5hjcn$d44$1@woodrow.ucdavis.edu> <c5hk1a$142$1@puck.litech.org> <Pine.LNX.4.44.0404131433210.4546-100000@pc36.cs.ucdavis.edu> <c5houj$47p$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.44.0404131655370.4681-100000@pc36.cs.ucdavis.edu> Subject: Re: perl_auth Date: Tue, 13 Apr 2004 17:00:12 -0700 From: Mason Sin-Fai Leung <leungm@cs.ucdavis.edu> References: <c5hjcn$d44$1@woodrow.ucdavis.edu> <c5hk1a$142$1@puck.litech.org> <Pine.LNX.4.44.0404131433210.4546-100000@pc36.cs.ucdavis.edu> <c5houj$47p$1@puck.litech.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!128.32.206.55!newsfeed.berkeley.edu!ucberkeley!ihnp4.ucsd.edu!ucdavis!pc36.cs.ucdavis.edu!leungm Newsgroups: news.software.nntp Organization: University of California, Davis Lines: 27 NNTP-Posting-Host: pc36.cs.ucdavis.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: woodrow.ucdavis.edu 1081900816 28997 169.237.5.88 (14 Apr 2004 X-Complaints-To: usenet@ucdavis.edu NNTP-Posting-Date: Wed, 14 Apr 2004 00:00:16 +0000 (UTC) In-Reply-To: <c5houj$47p$1@puck.litech.org>