From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Subject: Re: [9fans] sources.cs.bell-labs.com From: "Russ Cox" Date: Wed, 30 Jul 2008 09:29:50 -0400 In-Reply-To: <1217416827.5036.19.camel@goose.sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20080730132754.7EEA01E8C2B@holo.morphisms.net> Topicbox-Message-UUID: f51fa15e-ead3-11e9-9d60-3106f5b1d025 > Although, on a second though, if sources.cs.bell-labs.com doesn't > require authentication it probably should reply with Rerror > to a Tauth message. And it doesn't: > term% aux/9pcon -n tcp!sources.cs.bell-labs.com > Tversion 8192 9P2000 > -> Tversion tag 65535 msize 8192 version '9P2000' > <- Rversion tag 65535 msize 8192 version '9P2000' > Tauth 1 'roman' '' > -> Tauth tag 1 afid 1 uname roman aname > <- Rauth tag 1 qid (0000000000000001 0 A) You're right for most servers: the convention is that if the server doesn't want authentication, it sends back an Rerror to Tauth. Sources is a bit different: it doesn't require authentication, but it will accept it. This is how it can tell who should be writing to each contrib directory, for example. The result of sources following your lead is that you need to use -n if you really intend not to authenticate. Russ