From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] 9pfuse adventure From: "Russ Cox" Date: Fri, 8 Feb 2008 14:25:07 -0500 In-Reply-To: <140e7ec30802062352x26255504ha0d54596b954f8b8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20080208192504.45B4E1E8C5B@holo.morphisms.net> Topicbox-Message-UUID: 4cd1c72a-ead3-11e9-9d60-3106f5b1d025 > 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