Article View: news.software.nntp
Article #46342Re: How to hook a perl script to INN?
From: Julien Lajeunesse
Date: Tue, 09 May 2000 00:00
Date: Tue, 09 May 2000 00:00
27 lines
1845 bytes
1845 bytes
Ok, everything seems to be working now... I still do some test and give you some news + a perl script working with PAM (hopefully ;-). > > authinfo pass bar > > (you should get "281 Ok") > > Here I get a "Connection closed by foreign host" no matter what I > entered previously (good or bad password). I even hardcoded a 281 > response in the perl script. If I enter a non-existing username, I get > an "internal error" message. The problem was that I had based my script on the one that comes with INN... Not a good idea it seems after all the problems I went through ;-). Anyway, their script was sending back 5 fields in the array (code, read, write, group mask, username) by removing username (I saw it suddendly and got suspicious ;-) the authentication works! Thanks to everyone who helped! Julien Lajeunesse
Technical Details
Message-ID:
<39189445.2A86BC08@hermes.usherb.ca>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!not-for-mailReferences:
<39175CD7.C95DCD79@hermes.usherb.ca> <8f7mmc$12a$1@allhats.xcski.com> <8f7n8t$1i1$1@allhats.xcski.com> <39188387.395A3D2D@hermes.usherb.ca> <8fa1c5$dos$1@allhats.xcski.com> <39188F01.E966AACE@hermes.usherb.ca>Show Full Headers
Complete Article Headers
Message-ID: <39189445.2A86BC08@hermes.usherb.ca> Subject: Re: How to hook a perl script to INN? Date: Tue, 09 May 2000 00:00:00 +0000 From: Julien Lajeunesse <julien.lajeunesse@hermes.usherb.ca> References: <39175CD7.C95DCD79@hermes.usherb.ca> <8f7mmc$12a$1@allhats.xcski.com> <8f7n8t$1i1$1@allhats.xcski.com> <39188387.395A3D2D@hermes.usherb.ca> <8fa1c5$dos$1@allhats.xcski.com> <39188F01.E966AACE@hermes.usherb.ca> 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!not-for-mail X-Deja-AN: 621319022 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: news20.bellglobal.com 957911678 216.209.221.16 (Tue, 09 May 2000 18:34:38 EDT) Organization: Sympatico MIME-Version: 1.0 NNTP-Posting-Date: Tue, 09 May 2000 18:34:38 EDT Newsgroups: news.software.nntp