Article View: news.software.nntp
Article #43893Re: AUTHINFO discrepancies..
From: Jeremy
Date: Fri, 04 Feb 2000 00:00
Date: Fri, 04 Feb 2000 00:00
25 lines
1715 bytes
1715 bytes
Eric Sorenson <eric@explosive.net> wrote: > 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. Make sure you're returning a 200, not a 201, to the client, on connect. Some clients take a code other than 200 as meaning they can't ever post. The response code is meant to indicate the greatest level of permission that can be attained, even if further authentication is required to get there, so a 201 can be interpreted as "you'll never be able to post here, no matter what you do." I notice the README.perl_hook says that you can return a 480 on connect to mean 'authentication required'. Don't do that. Use 200 if the client is ever going to be allowed to post. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Technical Details
Message-ID:
<949682283.517523@news.netscum.dk>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:
<87dur6$ljt$1@nnrp1.deja.com>Show Full Headers
Complete Article Headers
Message-ID: <949682283.517523@news.netscum.dk> Subject: Re: AUTHINFO discrepancies.. Date: Fri, 04 Feb 2000 00:00:00 +0000 From: Jeremy <bofh@netscum.dk> References: <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-mail X-Deja-AN: 581568746 Organization: There Is No Organization X-Meow: Meow Newsgroups: news.software.nntp