🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55759

Re: Best way to determine if login is required?

#55759
From: Bill Kearney
Date: Thu, 27 Dec 2001 20:07
47 lines
3082 bytes
> Unfortunately, there is no best practice.

As I expected.

> Sometimes you can just send your authentication data before
> anything else and it will do. But some servers don't like this.
> (Microsoft's NNTP server seems to stay in an endless loop after
> this, for example.)

Hmm, I've not seen this behavior.  It's responded to all 'authinfo
user/pass' commands without going into a loop.  Any particular version
you're thinking of?  The latest one in Win2k Sp3 seems to not hang.

> Most servers respond with a 480 code if they expect authentication.
> Unfortunately you don't know what type of authentication (AUTHINFO
> GENERIC or USER/PASS) they want, but using AUTHINFO USER/PASS seems
> to be ok most of the time.

Ick, I'd forgotten about AUTHINFO GENERIC.  Any idea what servers use it
instead of user/pass?

> Furthermore, some servers only give you
> access to some (default) groups unless you authenticate the user,
> so legitimate users have to provide their authentication data
> without such a request by the server to get full access.

This I have seen.  I've seen some that won't even speak to you unless you
authenticate.  Some that would present a full list but not allow read/post
and then some that would customize the results based on authentication.


> Therefore, tin for example only sends authentication data upon
> request of the server (480 response code). (It first tries AUTHINFO
> GENERIC, then AUTHINFO USER/PASS.) But there is an command line
> option to authenticate the user at connection startup to help those
> users reading from a server that only gives full access after
> pro-active login.

This sounds good.  I'll try that and report back.

Thanks!

-Bill Kearney



Technical Details
Message-ID: <ecLW7.1222$5c4.160543@newsread1.prod.itd.earthlink.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!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
References: <WbIW7.880$5c4.125016@newsread1.prod.itd.earthlink.net> <a0fs04$epi$06$1@news.t-online.com>

Show Full Headers
Complete Article Headers
Message-ID: <ecLW7.1222$5c4.160543@newsread1.prod.itd.earthlink.net>
Subject: Re: Best way to determine if login is required?
Date: Thu, 27 Dec 2001 20:07:38 GMT
From: "Bill Kearney" <wkearney99@hotmail.com>
References: <WbIW7.880$5c4.125016@newsread1.prod.itd.earthlink.net> <a0fs04$epi$06$1@news.t-online.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!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 46
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
NNTP-Posting-Host: 4.40.32.38
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread1.prod.itd.earthlink.net 1009483658 4.40.32.38 (Thu, 27 Dec 2001 12:07:38 PST)
NNTP-Posting-Date: Thu, 27 Dec 2001 12:07:38 PST
Organization: EarthLink Inc. -- http://www.EarthLink.net
X-Received-Date: Thu, 27 Dec 2001 12:07:38 PST (newsmaster1.prod.itd.earthlink.net)