9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@9fans.net
Subject: Re: [9fans] sources.cs.bell-labs.com
Date: Wed, 30 Jul 2008 09:29:50 -0400	[thread overview]
Message-ID: <20080730132754.7EEA01E8C2B@holo.morphisms.net> (raw)
In-Reply-To: <1217416827.5036.19.camel@goose.sun.com>

> 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



  reply	other threads:[~2008-07-30 13:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-30 10:40 Roman V. Shaposhnik
2008-07-30 10:51 ` gdiaz
2008-07-30 11:05   ` Roman V. Shaposhnik
2008-07-30 11:20   ` Roman V. Shaposhnik
2008-07-30 13:29     ` Russ Cox [this message]
2008-07-30 15:27       ` a
2008-07-31 16:25         ` Russ Cox
  -- strict thread matches above, loose matches on Subject: below --
2008-07-17 11:57 erik quanstrom
2008-07-17 13:01 ` ron minnich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080730132754.7EEA01E8C2B@holo.morphisms.net \
    --to=rsc@swtch.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).