9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] cpu: can't authenticate: sp: auth_proxy rpc write: bootes: connection refused
@ 2011-03-18 15:55 Stanley Lieber
  0 siblings, 0 replies; 3+ messages in thread
From: Stanley Lieber @ 2011-03-18 15:55 UTC (permalink / raw)


It was suggested by cinap_lenrek to start another factotum immediately
after importing the laptop's /net. After doing so, I am able to cpu into sp.

-sl




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [9fans] cpu: can't authenticate: sp: auth_proxy rpc write: bootes: connection refused
@ 2011-03-18 15:25 Stanley Lieber
  2011-03-18  3:34 ` erik quanstrom
  0 siblings, 1 reply; 3+ messages in thread
From: Stanley Lieber @ 2011-03-18 15:25 UTC (permalink / raw)


I routinely cpu into remote servers from my Plan 9 laptop at home. At work, I routinely
import the laptop's /net and cpu into those same remote servers using the laptop's
Internet connection. (The machine at work has most outgoing connections blocked;
I reach the laptop at home over an ssh/tun0 vpn running on OpenBSD.)

I am able to connect to all of the needed machines from the laptop at home. I am able
to connect to _almost_ all of the needed machines from my computer at work. For some
reason, I can only cpu to the machine sp as bootes from my machine at work. Every
other user is denied.

The symptoms are identical to those described in this thread:

	http://9fans.net/archive/?q='cpu+server+auth+problems'&go=Grep

I can cpu into sp as bootes:

	% import rg /net
	% cpu -h sp -u bootes
	!Adding key: dom=inri.net proto=p9sk1 user=bootes
	password: 
	!
	cpu%

but not as any other valid user:

	% cpu -h sp -u sl
	!Adding key: dom=inri.net proto=p9sk1 user=sl
	password: 
	!
	cpu: can't authenticate: sp: auth_proxy rpc write: bootes: connection refused

Information for sp in my /lib/ndb/local matches that of the laptop:

	% cat /lib/ndb/local | grep sp.inri.net
	auth=sp.inri.net authdom=inri.net
	ip=174.136.104.196 sys=sp dom=sp.inri.net

and auth/debug completes succesfully:

	% auth/debug
	p9sk1 key: proto=p9sk1 dom=inri.net user=sl !password?
		dialing auth server net!sp.inri.net!ticket
		successfully dialed auth server
		password for sl at inri.net [hit enter to skip test]: 
		dialing auth server net!sp.inri.net!ticket
		ticket request using sl at inri.net key succeeded
		cpu server owner for domain inri.net [bootes]: 
		password for bootes at inri.net [hit enter to skip test]: 
		ticket request using bootes at inri.net key succeeded

Any ideas where I might be going wrong?

-sl




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [9fans] cpu: can't authenticate: sp: auth_proxy rpc write: bootes: connection refused
  2011-03-18 15:25 Stanley Lieber
@ 2011-03-18  3:34 ` erik quanstrom
  0 siblings, 0 replies; 3+ messages in thread
From: erik quanstrom @ 2011-03-18  3:34 UTC (permalink / raw)


> I can cpu into sp as bootes:
> 
> 	% import rg /net
> 	% cpu -h sp -u bootes
> 	!Adding key: dom=inri.net proto=p9sk1 user=bootes
> 	password: 
> 	!
> 	cpu%

along the lines of the previous suggestion, you may
wish to plumb
	Local import rg /net
so you don't need >1 factotums running around.

- erik



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-18 15:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-18 15:55 [9fans] cpu: can't authenticate: sp: auth_proxy rpc write: bootes: connection refused Stanley Lieber
  -- strict thread matches above, loose matches on Subject: below --
2011-03-18 15:25 Stanley Lieber
2011-03-18  3:34 ` erik quanstrom

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).