9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] auth fun+games
@ 2003-05-27 15:38 steve.simon
  2003-05-27 15:40 ` Lucio De Re
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: steve.simon @ 2003-05-27 15:38 UTC (permalink / raw)
  To: 9fans

Up until now I have been working with a single plan9 machine,
I tried to attach another and am struggling with authentication.

I have 2 kfs terminals, both booting off their own kfs disks.
The desktop machine is temporarly running 'disk/kfscmd listen',
and the listeners & keyfs detailed in cpurc.

I am just trying to 9fs from the laptop to the desktop machine.

On the desktop box I gave myself a password with auth/changeuser,
giving the keyfs password again as I have no nvram partition yet.
I setup /lib/ndb so both machines know what authdomain they are
in and where their auth server is.

At one point I am sure I could generate tickets using auth/debug,
however now I just get:
 p9sk1 key: proto=p9sk1 dom=snellwilcox.com user=steve !password?
	 successfully dialed auth server
	 password for steve@snellwilcox.com [hit enter to skip test]:
	 cannot decrypt ticket1 from auth server (bad t.num=0xffffff9f)
	 auth server and you do not agree on key for steve@snellwilcox.com

I have retyped the passwords several times but still get errors.

I am running the current distribution's kernels.

I have missed somthing but I cannot see what...

-Steve


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

* Re: [9fans] auth fun+games
  2003-05-27 15:38 [9fans] auth fun+games steve.simon
@ 2003-05-27 15:40 ` Lucio De Re
  2003-05-27 15:50 ` ron minnich
  2003-05-27 15:55 ` andrey mirtchovski
  2 siblings, 0 replies; 4+ messages in thread
From: Lucio De Re @ 2003-05-27 15:40 UTC (permalink / raw)
  To: 9fans

On Tue, May 27, 2003 at 04:38:31PM +0100, steve.simon@snellwilcox.com wrote:
>
> Up until now I have been working with a single plan9 machine,
> I tried to attach another and am struggling with authentication.
>
The quick reply is to try

	% auth/debug

which I was thrilled to discover actually highlights a lot of
misunderstandings.

But I only skimmed over your note, so you may need deeper digging.
Setting

	% echo debug > /mnt/factotum/ctl

(and debug off when you're overwhelmed :-) also can help.  But use
/dev/kcons to catch the output, if you can.

Good luck.

++L


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

* Re: [9fans] auth fun+games
  2003-05-27 15:38 [9fans] auth fun+games steve.simon
  2003-05-27 15:40 ` Lucio De Re
@ 2003-05-27 15:50 ` ron minnich
  2003-05-27 15:55 ` andrey mirtchovski
  2 siblings, 0 replies; 4+ messages in thread
From: ron minnich @ 2003-05-27 15:50 UTC (permalink / raw)
  To: 9fans

I went through fun and games too.

one thing I can tell you is to make sure you follow the instructions on
the wiki EXACTLY. I screwed this up a countably infinite number of times.

Dean's pages on the acl plan 9 site are also very helpful.

ron



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

* Re: [9fans] auth fun+games
  2003-05-27 15:38 [9fans] auth fun+games steve.simon
  2003-05-27 15:40 ` Lucio De Re
  2003-05-27 15:50 ` ron minnich
@ 2003-05-27 15:55 ` andrey mirtchovski
  2 siblings, 0 replies; 4+ messages in thread
From: andrey mirtchovski @ 2003-05-27 15:55 UTC (permalink / raw)
  To: 9fans

On Tue, 27 May 2003 steve.simon@snellwilcox.com wrote:

> Up until now I have been working with a single plan9 machine,
> I tried to attach another and am struggling with authentication.
>

in my case it has always been the 'dom=' and 'authdom=' entries in /net/ndb
-- make sure they match on both sides.

as has been suggested, auth/debug is your friend :)



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

end of thread, other threads:[~2003-05-27 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-27 15:38 [9fans] auth fun+games steve.simon
2003-05-27 15:40 ` Lucio De Re
2003-05-27 15:50 ` ron minnich
2003-05-27 15:55 ` andrey mirtchovski

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