🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78162

Re: news server + discussion groups + LDAP

#78162
From: Julien ÉLIE
Date: Thu, 08 Nov 2007 15:27
34 lines
2031 bytes
Hi Bozweb,

> autentification using ldap to news server.
>
> Here it is :-)
> http://www.tahina.priv.at/~cm/hacks/README.nnrpd-ldap-auth

Why don't you use PAM? (package libpam-ldap on Debian)

In readers.conf:

auth "ssl-ext" {
        hosts: "*"
        key: "ldap"
        auth: "ckpasswd"
}

access "ssl-ext" {
        users: "*"
        key: "ldap"
        strippath: "true"
        newsgroups: "*"
        access: RPA
}


And in pam_ldap.conf, I put my parameters to query the LDAP server:
host, base, binddn, bindpw, etc.

-- 
Julien ÉLIE

« Je ne cherche pas à connaître les réponses, je cherche à comprendre les questions. » 
Technical Details
Message-ID: <fgv9sv$bph$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!feeder.news-service.com!news.netfinity.fr!news.trigofacile.com!not-for-mail
References: <fgv2i0$uge$1@ns.felk.cvut.cz> <473327e1$0$242$e4fe514c@news.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <fgv9sv$bph$1@news.trigofacile.com>
Subject: Re: news server + discussion groups + LDAP
Date: Thu, 8 Nov 2007 16:27:23 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <fgv2i0$uge$1@ns.felk.cvut.cz> <473327e1$0$242$e4fe514c@news.xs4all.nl>
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!feeder.news-service.com!news.netfinity.fr!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 34
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 1194535647 12081 138.195.145.8 (8 Nov 2007
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Thu, 8 Nov 2007 15:27:27 +0000 (UTC)
In-Reply-To: <473327e1$0$242$e4fe514c@news.xs4all.nl>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545