9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] File Server Authentication Woes
@ 2002-05-07  0:57 Eric Van Hensbergen
  0 siblings, 0 replies; 9+ messages in thread
From: Eric Van Hensbergen @ 2002-05-07  0:57 UTC (permalink / raw)
  To: 9fans


I'm having a bit of trouble getting my newly installed file server to
work with my Auth server.  I've installed everything from scratch and
have a stand-alone auth server, a stand-alone terminal, and a file
server.  Everything seems to be happy-happy except when I go to mount
the file server from the auth-server I get an authentication error.
There doesn't seem to be anything useful in /sys/log/auth about it (or
in any of the other logs).  Is there any way I sanity check the auth
server configuration on the file server or get more verbose debugging
about where things are breaking down?

	-eric





^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [9fans] File Server Authentication Woes
@ 2002-05-07  1:03 Russ Cox
  2002-05-07 15:10 ` Eric Van Hensbergen
  0 siblings, 1 reply; 9+ messages in thread
From: Russ Cox @ 2002-05-07  1:03 UTC (permalink / raw)
  To: 9fans

> I'm having a bit of trouble getting my newly installed file server to
> work with my Auth server.  I've installed everything from scratch and
> have a stand-alone auth server, a stand-alone terminal, and a file
> server.  Everything seems to be happy-happy except when I go to mount
> the file server from the auth-server I get an authentication error.

try

	echo -n debug > /mnt/factotum/ctl

on the client and repeat the mount.
you'll get a trace of the factotum activity,
which may contain more useful error messages.



^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [9fans] File Server Authentication Woes
@ 2002-05-07  1:17 presotto
  0 siblings, 0 replies; 9+ messages in thread
From: presotto @ 2002-05-07  1:17 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

The client calls the auth server.  If there isn't anything in
/sys/log/auth then the client isn't even trying the auth server.
It seems like the auth server doesn't know where the auth server
is, so to speak.

On the auth server, do

% ndb/csquery
> net!$auth!ticket

If there isn't a translation, that's the problem.  There are two
places you can specify the auth server, /net/ndb (plan 9 DHCP supplies
it) or in /lib/ndb/local.  Look for 'auth='.

[-- Attachment #2: Type: message/rfc822, Size: 2055 bytes --]

From: Eric Van Hensbergen <evanhensbergen@austin.rr.com>
To: 9fans@cse.psu.edu
Subject: [9fans] File Server Authentication Woes
Date: 06 May 2002 19:57:43 -0500
Message-ID: <1020733065.1790.2.camel@airwick>


I'm having a bit of trouble getting my newly installed file server to
work with my Auth server.  I've installed everything from scratch and
have a stand-alone auth server, a stand-alone terminal, and a file
server.  Everything seems to be happy-happy except when I go to mount
the file server from the auth-server I get an authentication error.
There doesn't seem to be anything useful in /sys/log/auth about it (or
in any of the other logs).  Is there any way I sanity check the auth
server configuration on the file server or get more verbose debugging
about where things are breaking down?

	-eric



^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [9fans] File Server Authentication Woes
@ 2002-05-07 15:18 Russ Cox
  2002-05-07 15:49 ` Eric Van Hensbergen
  0 siblings, 1 reply; 9+ messages in thread
From: Russ Cox @ 2002-05-07 15:18 UTC (permalink / raw)
  To: 9fans

Somewhere along the line your servers don't agree about a key.
It sounds like the factotum on your auth server doesn't have
the right key.  Try drawing a new window on the auth server
and running

	echo -n delkey >/mnt/factotum/ctl	# clears all keys
	mount -c /srv/il!9.3.61.42 /n/tor

It will prompt for the key again and maybe this time
will work better.

Russ


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [9fans] File Server Authentication Woes
@ 2002-05-07 16:20 rsc
  2002-05-07 17:26 ` Eric Van Hensbergen
  0 siblings, 1 reply; 9+ messages in thread
From: rsc @ 2002-05-07 16:20 UTC (permalink / raw)
  To: 9fans

> When I do this, I don't get a key prompt again, but the error messages
> change (due to the fact that there is no key matches apparently).

You're on a cpu server, so factotum won't prompt.
Instead tell it manually:

	echo 'key proto=p9sk1 dom=your.auth.domain user=you !password=secret' >/mnt/factotum/ctl

If that works, try running auth/wrkey to rewrite your
nvram and then reboot.

Russ



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

end of thread, other threads:[~2002-05-07 17:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-07  0:57 [9fans] File Server Authentication Woes Eric Van Hensbergen
2002-05-07  1:03 Russ Cox
2002-05-07 15:10 ` Eric Van Hensbergen
2002-05-07  9:30   ` plan9
2002-05-07  1:17 presotto
2002-05-07 15:18 Russ Cox
2002-05-07 15:49 ` Eric Van Hensbergen
2002-05-07 16:20 rsc
2002-05-07 17:26 ` Eric Van Hensbergen

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