9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] 9pfuse adventure
Date: Fri,  8 Feb 2008 14:25:07 -0500	[thread overview]
Message-ID: <20080208192504.45B4E1E8C5B@holo.morphisms.net> (raw)
In-Reply-To: <140e7ec30802062352x26255504ha0d54596b954f8b8@mail.gmail.com>

> provide any facility to attach as a different user. So, I modified the
> attach strategy to look for a USER environment variable before falling
> back on getuser(). I've attached the diff, hopefully I got everything.

The name in the attach is almost just a comment.
What matters is the name used inside the authentication
protocol.  (The name in the attach is really only there for
non-authenticated connections.)  So these changes
shouldn't be necessary.

> !adding key: role=speakfor proto=p9sk1 dom=sqweek.dnsdojo.org
> user: sqweek
> password:
> !

This is the problem: you should never be prompted for a
role=speakfor key.  You should be prompted for a role=client key.
If that happened correctly then I think things would have just
worked.  Try pre-loading a role=client key into factotum and
see if that works better.

Russ


  reply	other threads:[~2008-02-08 19:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07  7:52 sqweek
2008-02-08 19:25 ` Russ Cox [this message]
2008-02-11  9:31   ` [9fans] Can't find CD-ROM Chris Saunders
2008-02-11 11:10     ` Pietro Gagliardi
2008-02-11 14:54       ` Chris Saunders
2008-02-11 13:34     ` Eris Discordia
2008-02-11 14:54       ` Chris Saunders
2008-02-11 15:15         ` Eris Discordia
2008-02-12  9:26           ` Chris Saunders
2008-02-13  5:48             ` Lee Duhem
2008-02-13  9:52             ` Chris Saunders
2008-02-13 16:52               ` Eris Discordia
     [not found]                 ` <op.t6g2x6t1c6yvfe@computer>
2008-02-13 17:03                   ` Fwd: " Eris Discordia
2008-02-11 14:37     ` ISHWAR RATTAN
2008-02-11 15:25     ` Alf
2008-02-12 19:40   ` [9fans] 9pfuse adventure sqweek
2008-03-21 10:08     ` John Soros
2008-03-27  2:48       ` sqweek

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=20080208192504.45B4E1E8C5B@holo.morphisms.net \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /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).