πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78932

Re: INN 2.4.3 Question on Authentication (AUTHINFO)

#78932
From: Tim Fardell
Date: Mon, 14 Apr 2008 19:56
42 lines
2551 bytes
On Thu, 10 Apr 2008 19:27:22 +0200, Julien Γ‰LIE
<iulius@nom-de-mon-site.com.invalid> wrote:

>> Now I just have to get pam_ldap working :-(
>
>Just in case it might help you, I have in /etc/pam_ldap.conf:

I'm struggling to make this work :-(
Could I ask what you've got in your /etc/pam.d/nnrpd file? 

I've just got

#%PAM-1.0
auth            required        pam_ldap.so

When the NNTP user tries to authenticate, it asks the LDAP server
about the user, and then attempts a Bind operation using the
username/password supplied in AUTHINFO. The LDAP server then says
"success" but pam says: 

pam_acct_mgmt failed: Authentication failure

Even though the LDAP server seems to be saying the user is valid. 

If I enter a wrong password for the username, I get a different
message from pam: 

pam_authenticate failed: Authentication failure

so it seems to know the difference between the right password and the
wrong password! 

If I enter a wrong username, I get: 

pam_authenticate failed: User not known to the underlying
authentication module

which is the only one that makes any sense! 

I'm stuck :-(
-- 
Please remove all-your-clothes before replying. 
Technical Details
Message-ID: <69d704lsbn3sa4t2ftlenf9jn7tu2ocsme@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!zen.net.uk!demorgan.zen.co.uk!prichard.zen.co.uk.POSTED!not-for-mail
References: <qo9qv39vq5i1i0bp6binua9f610b2rm6mh@4ax.com> <ftjae7$q1d$1@news.trigofacile.com> <indqv3lan958qdct9sbbqhfplt41o80v8m@4ax.com> <ftl2np$82d$1@news.trigofacile.com> <ftl3p8$9l8$1@news.trigofacile.com> <fpdsv3lrlba85gofhn5no11468lfar8cvm@4ax.com> <ftlilr$tk0$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <69d704lsbn3sa4t2ftlenf9jn7tu2ocsme@4ax.com>
Subject: Re: INN 2.4.3 Question on Authentication (AUTHINFO)
Date: Mon, 14 Apr 2008 20:56:44 +0100
From: Tim Fardell <tim.fardell.all-your-clothes@virgin.net>
References: <qo9qv39vq5i1i0bp6binua9f610b2rm6mh@4ax.com> <ftjae7$q1d$1@news.trigofacile.com> <indqv3lan958qdct9sbbqhfplt41o80v8m@4ax.com> <ftl2np$82d$1@news.trigofacile.com> <ftl3p8$9l8$1@news.trigofacile.com> <fpdsv3lrlba85gofhn5no11468lfar8cvm@4ax.com> <ftlilr$tk0$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!zen.net.uk!demorgan.zen.co.uk!prichard.zen.co.uk.POSTED!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 42
Organization: Zen Internet
NNTP-Posting-Host: 8a7a08a1.news.zen.co.uk
X-Trace: DXC=Ii<KSGKEnX0bGK9<`dcd<?0g@SS; SF6n7EYe`[E1R\@6N712Q3KHSU;
 e9nE<i9A3o1CJi=cj_592<
X-Complaints-To: abuse@zen.co.uk