Article View: news.software.nntp
Article #43886AUTHINFO discrepancies..
From: Eric Sorenson
Date: Fri, 04 Feb 2000 00:00
Date: Fri, 04 Feb 2000 00:00
33 lines
2226 bytes
2226 bytes
Hi all - I have set up a local-newsgroups-only innd server (2.2), and hacked up nntp_auth.pl such that it authenticates every non-local connection against our MySQL database of usernames and passwords and grants access to all newsgroups if you succeed, disconnects you if you fail. It works beautifully.. for SOME newsreaders. Others, notably tin and Netscape news, handle the authentication properly (I have enabled debugging in both my auth.pl and for each nnrpd which starts up), but after receiving the "281 Ok" after a successful authentication, apparently never flip the "posting is OK now" bit inside them. Posting / followup commands are disabled, but attempts to use the commands don't cause the client contact the server at all. Has anyone else run into this before? I'm compiling a debug-enabled tin now, but netscape's another story. The other possibility besides "Damn, These Things Are Broken" is that my server isn't returning the proper response after a good auth, and it's my fault somehow. But my perl program follows the API Russ's update to README.perl_filter describes, and the REST of the clients work OK, so I don't think that is what's going on here. Any comments on what the right behavior ought to be on the client side (I couldn't find any "NNRP Protocol Specification" RFC), history of this seemingly undocumented part of NNTP, and so forth would be greatly appreciated. -- -=Eric Sent via Deja.com http://www.deja.com/ Before you buy.
Technical Details
Message-ID:
<87dur6$ljt$1@nnrp1.deja.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!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <87dur6$ljt$1@nnrp1.deja.com> Subject: AUTHINFO discrepancies.. Date: Fri, 04 Feb 2000 00:00:00 +0000 From: Eric Sorenson <eric@explosive.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!not-for-mail X-Deja-AN: 581323394 X-Http-Proxy: 1.0 x27.deja.com:80 (Squid/1.1.22) for client 209.133.38.50 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Feb 04 07:24:23 2000 GMT X-MyDeja-Info: XMYDJUIDesorenson Newsgroups: news.software.nntp X-Http-User-Agent: Mozilla/4.5 [en] (X11; U; Linux 2.2.10 i686)