🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62947

Re: [attn client authors] Multiple AUTHINFOs per session

#62947
From: Curt Welch
Date: Wed, 08 Jan 2003 04:31
23 lines
2268 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Heiko Studt <UsenetBecky@goldpool.org> writes:
>
> > Hamster 2.0 (Server-Part) can Handle multiple AUTHINFO-Phases. It sets
> > the Logged-In-User auf 'NIL' if he gets an "AUTHINFO USER". If he gets
> > a wrong "AUTHINFO PASS" he disconnects the client.
>
> INN can too, if I recall properly, but it's more of a standardization
> question because multiple AUTHINFOs in the same session can do strange
> things with SASL.

My server happens to allow switching the user multiple times in a session.
The user doesn't switch when the AUTHINFO USER command happens, so you can
send the AUTHINFO USER, then go back to doing normal newsrading stuff, and
send the AUTHINFO PASS at any time later.  If you get the pass right, it
switches, if you get it wrong, it disconnects.  You can send multiple
AUTHINFO USER commands as well with no effect.  The arg is just stored away
and remebered for later use when the AUTHINFO PASS command happens.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030107233154.829$xY@newsreader.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!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <avdbi3$mhk$2@puck.litech.org> <avduo3.16s.1@Heiko.Studt.dialin.t-online.de> <ylbs2s944d.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <20030107233154.829$xY@newsreader.com>
Subject: Re: [attn client authors] Multiple AUTHINFOs per session
Date: Wed, 08 Jan 2003 04:31:54 +0000
From: curt@kcwc.com (Curt Welch)
References: <avdbi3$mhk$2@puck.litech.org> <avduo3.16s.1@Heiko.Studt.dialin.t-online.de> <ylbs2s944d.fsf@windlord.stanford.edu>
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!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com @Bp4YcR/J9rzc4+A6Amao9PEU.+sK8rW6ZXZ8K=,ZMD82F
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 22