🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78930

Re: INN 2.4.3 Question on Authentication (AUTHINFO)

#78930
From: Julien ÉLIE
Date: Mon, 14 Apr 2008 20:17
44 lines
2825 bytes
Hi Tim,

> 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

guepard:/home/eliej# cat /etc/pam.d/nnrpd
# Seul root peut se logguer si /etc/nologin existe.
# (Only root can login if /etc/nologin exists.)
auth            requisite       pam_nologin.so
auth            required        pam_ldap.so
account         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

It sounds like "account".


> 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

You can indeed test it with ckpasswd:

14/04 22:12 news@guepard ~% ckpasswd -u eliej -p badpassword
ckpasswd: pam_authenticate failed: Authentication failure

-- 
Julien ÉLIE

« La grève au fourneau, le glaive au fourreau. » (Astérix)
Technical Details
Message-ID: <fu0e4a$abq$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!news.albasani.net!news.trigofacile.com!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> <69d704lsbn3sa4t2ftlenf9jn7tu2ocsme@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <fu0e4a$abq$1@news.trigofacile.com>
Subject: Re: INN 2.4.3 Question on Authentication (AUTHINFO)
Date: Mon, 14 Apr 2008 22:17:11 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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> <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!news.albasani.net!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 44
NNTP-Posting-Host: goret.via.ecp.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1208204234 10618 138.195.145.8 (14 Apr 2008
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Mon, 14 Apr 2008 20:17:14 +0000 (UTC)
In-Reply-To: <69d704lsbn3sa4t2ftlenf9jn7tu2ocsme@4ax.com>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000