🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57927

Re: Inn 2.3 & nnrpd_auth.pl - cannot post / connection ends

#57927
From: Patrice Bour
Date: Thu, 04 Apr 2002 16:52
53 lines
3250 bytes
Cheers for your answer Jeffrey.

In article <a8hr5t$7c5$1@marduk.litech.org>, "Jeffrey M. Vinocur"
<jeff@litech.org> wrote:

> In article <6bc5840c.0204040420.42251e8b@posting.google.com>, Patrice
> <patrice.bour@synaptique.com> wrote:
>>
>>I'm trying to link Innd authentication to a LDAP server, thus I'm using
>>the perl hook through nnrpd_auth.pl.
> 
> Are you using an operating system that supports PAM (say, Redhat?).  If
> so, you can install pamckpasswd and a PAM/LDAP module, and not have to
> write any code at all.  This is what I did, it's very easy.
> 

Indeed I'm using RedHat Linux ... 
But it is only for testing purposes, the target
system is a Solaris OS. And even if pam is usable there, the
configuration won't authorize it.
Moreover, the LDAP connection itself will be replaced by a already
existing perl script front-end on the final system. This front end will
return a list of lines, each one with a specific meaning associated
with the order of appearance

> 
>>The snag is I'm unable to post anything ... A telnet connection ends as
>>soon as I'm entering the post command.
> 
> It just closes the connection, no output?  What's in the logs
> (news.notice, news.err, news.crit, errlog).

Nothing in the logs but the connect line with the user id. 
When posting, the socket suddenly dies. 
When inspecting TCP/IP packets during the exchange, nothing seems
unusual, untill the connexion is brutally terminated without a
single FIN packet.

The only "original" point in my configuration is that i'm using an alias
IF (eth0:1) because my newsreaders don't issue a "mode reader"
command and thus I'm not able to read news through them
because they're bind to the same interface than my Innd server.
But if that was the point I won't be able to post as well without
authentication, I guess.

I was thinking about using readers.conf's stuff but because the
authentication schemes will be gid dependent and a single user can be
member of multiple groups, it's too contraignant.

I feel a bit lost.

Patrice
Technical Details
Message-ID: <a8i0bc$spa$1@s1.read.news.oleane.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!fr.clara.net!heighliner.fr.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail
References: <6bc5840c.0204040420.42251e8b@posting.google.com> <a8hr5t$7c5$1@marduk.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <a8i0bc$spa$1@s1.read.news.oleane.net>
Subject: Re: Inn 2.3 & nnrpd_auth.pl - cannot post / connection ends
Date: Thu, 04 Apr 2002 18:52:26 +0200
From: "Patrice Bour" <patrice@tx.synaptique.net>
References: <6bc5840c.0204040420.42251e8b@posting.google.com> <a8hr5t$7c5$1@marduk.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!fr.clara.net!heighliner.fr.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Synaptique
Lines: 52
NNTP-Posting-Host: 212.234.231.38
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: s1.read.news.oleane.net 1017939116 29482 212.234.231.38 (4 Apr 2002 16:51:56 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Thu, 4 Apr 2002 16:51:56 +0000 (UTC)
User-Agent: Pan/0.9.7 (Unix)