9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: stanley.lieber@gmail.com (Stanley Lieber)
Subject: [9fans] cpu: can't authenticate: sp: auth_proxy rpc write: bootes: connection refused
Date: Fri, 18 Mar 2011 10:25:54 -0500	[thread overview]
Message-ID: <40362760a100e958e4c407d70ecf9b95@EXAMPLE> (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




             reply	other threads:[~2011-03-18 15:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 15:25 Stanley Lieber [this message]
2011-03-18  3:34 ` erik quanstrom
2011-03-18 15:55 Stanley Lieber

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=40362760a100e958e4c407d70ecf9b95@EXAMPLE \
    --to=stanley.lieber@gmail.com \
    /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).