9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: James A. Robinson Jim.Robinson@Stanford.Edu
Subject: [9fans] Argh -- auth checklist?
Date: Wed, 24 Feb 1999 15:21:14 -0800	[thread overview]
Message-ID: <19990224232114.yO8814TAcdmwsauv1EW_ZcE3mkkG7X5byfZqUdJRvnw@z> (raw)

Anyone have a checklist of things to check for setting up the auth
stuff? I must not have set something up correctly, for I find that I
cannot telnet into my plan9 system and get a securenet challenge. =(

I've got my user login in the plan9 db and the securenet db. If I run
"status" on my user name, it comes back with

    user jimr: plan 9 key status is ok and never expires
    jimr:       James A. Robinson HighWire Press <jim.robinson@stanford.edu>
    user jimr: network key status is ok and never expires
    user jimr: net key NNN NNN NNN NNN NNN NNN NNN NNN
    jimr:       James A. Robinson HighWire Press <jim.robinson@stanford.edu>

where NNN are actually sets of 3 numbers. I've got keyfs running on both
key sets from /bin/cpurc:
    
    auth/keyfs -m/mnt/keys /adm/keys
    auth/keyfs -m/mnt/netkeys /adm/netkeys

Both /mnt/keys and /mnt/netkeys have directory 'jimr' and the info I can
get at inside them seem to indicate it is ok... Ummm, let's see. I've
got an entry in /lib/ndb/local stating that il=ticket port=566.

If I try and telnet in as anyone other then none, instead of getting a
challenge I immeditely get back a failure:

    ; telnet <myauthserver>
    Connected to <myauthserver.stanford.edu>.
    Escape character is '^]'.
    user: jimr
    authentication failure
    Connection closed by foreign host.

Sigh... I don't understand whether or not /lib/ndb/auth
is used for remote connections (I would think no, but...),
and I'm not sure what the fAQ means with the statement

    also: /lib/ndb/auth
    in /lib/ndb/local: 9P=auth

I'm missing something, but I have no idea what. =( I'm 
wondering if maybe the authserver doesn't realize that it
itself is the authserver? I have to use 0.1.0.0 as the auth
server IP address, or it won't boot up (the default says it
is 0.0.0.0, which crashes the system).


Jim




             reply	other threads:[~1999-02-24 23:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-24 23:21 James [this message]
1999-02-24 23:36 forsyth
1999-02-24 23:38 forsyth
1999-02-24 23:48 Dorman, Eric
1999-02-25  0:27 James
1999-02-25  4:02 Lucio
1999-02-25  8:41 steve.kilbane
1999-02-25 17:55 Berry

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=19990224232114.yO8814TAcdmwsauv1EW_ZcE3mkkG7X5byfZqUdJRvnw@z \
    --to=9fans@9fans.net \
    /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).