From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 28 Jun 2006 23:02:27 +0200 To: 9fans <9fans@cse.psu.edu> Subject: Re: [9fans] authdial: unknown host From: csant Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: User-Agent: Opera Mail/9.00 (Linux) Topicbox-Message-UUID: 6fb40b6a-ead1-11e9-9d60-3106f5b1d025 >> trying to mount a Plan 9 machine from Linux. >> >> I tell /srv/fscons to listen on ports 564 (tcp) and 17008 (il). I >> % auth/factotum -g 'proto=3Dp9sk1 user=3Dme dom=3Dmydomain !password= =3Dmypw' >> and then on the Linux box I try to establish a preauthenticated = >> connection (following instructions from this list a few weeks ago): >> >> $ srv -a 10.0.0.5 plan9 >> !adding key: role=3Dclient proto=3Dp9sk1 dom=3Dmydomain >> user[me]: me >> password: >> ! >> authdial: unknown host mydomain >> >> I am a bit confused by the last error message: how come authdial trea= ts = >> mydomain as the host? Where have I misconfigured stuff? >> >> $ hostname -f >> linux.mydomain >> seems to tell me that (at least the Linux box) knows about the domain= . >> >> Needless to say, when I >> # mount -t 9p -o proto=3Dtcp 10.0.0.5 /mnt/9/ >> mount: permission denied >> since it was trying to "attach main as nobody: connection not = >> authenticated, not console". >> >> Any pointer please to how I could get this to work? > > I got one step further: > > Added the following lines to $PLAN9/ndb/local : > authdom=3Dmydomain > auth=3Dplan9 > where plan9 is the (only) Plan 9 machine on this network. > > But now I get > $ srv -a 10.0.0.5 plan9 > !adding key: role=3Dclient proto=3Dp9sk1 dom=3Dmydomain > user[me]: me > password: > ! > authdial: Connection refused > srv: authproxy: auth_proxy rpc: no rpc pending And on the plan9 machine: % cat /mnt/factotum/log 0: no key matches 0: failure no key matches 1: no key matches proto=3Dp9sk1 role=3Dserver dom? /c