🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57922

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

#57922
From: Patrice
Date: Thu, 04 Apr 2002 12:20
34 lines
2251 bytes
Hello there,

I'm new in nntp world, but I'm already encountering some weird stuff ...

I'm trying to link Innd authentication to a LDAP server, thus I'm using
the perl hook through nnrpd_auth.pl. My Inn server is a standalone one,
thus the configuration is a very basic one.

When connecting, I return the following arguments' list requesting
authentication :  ( 480, 1, 1, *, undef )

What is expected happends here : a call to authenticate() which matches
a username/password couple against the LDAP server. When the
authentication is correct I return the following list : ( 281, 1, 1, [ a
list of comma separated authorized newsgroups ], undef )

Till here, everything looks OK. I'm able to read the authorized
newsgroups, a telnet connection comforts me in the fact that the
authentication succeeded  ( return code 281 ) ...

The snag is I'm unable to post anything ... A telnet connection ends as
soon as I'm entering the post command. The logs of pan ( a newsreader )
shows that the client lost connection with the server as soon as the
posting occurs.

When I'm not using the nnrpd_auth.pl stuff, everything works fine. But
the problem seems not to come from the perl stuff because the codes
returned are correct.

I feel a bit lost, and, if anybody has any idea about a path to follow
to overcome the situation, I will be very thanksfull.

Patrice Bour
Technical Details
Message-ID: <6bc5840c.0204040420.42251e8b@posting.google.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.mbox.zip!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <6bc5840c.0204040420.42251e8b@posting.google.com>
Subject: Inn 2.3 & nnrpd_auth.pl - cannot post / connection ends
Date: Thu, 04 Apr 2002 12:20:09 +0000
From: patrice.bour@synaptique.com (Patrice)
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!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com/
Lines: 33
NNTP-Posting-Host: 212.234.231.38
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1017922809 27932 127.0.0.1 (4 Apr 2002 12:20:09 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 4 Apr 2002 12:20:09 GMT