> 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 via email to