9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Christopher Nielsen <cnielsen@pobox.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] fossil and auth
Date: Mon, 21 Jul 2003 07:13:42 -0700	[thread overview]
Message-ID: <20030721141342.GL63873@cassie.foobarbaz.net> (raw)
In-Reply-To: <cc301e7ff18eed4074ccfa9f006deb88@plan9.bell-labs.com>

Here is the output. From the logs on the auth server, it looks
like authentication is successful and a ticket is granted, but
I must admit I am not certain.

12: start proto=p9any role=client yields phase CNeedProtos: ok
12: read 4093 in phase CNeedProtos yields phase CNeedProtos: phase: protocol phase error: read in state CNeedProtos
12: write 0 in phase CNeedProtos yields phase CNeedProtos: toosmall 2048
12: no key matches  proto=p9sk1 dom=foobarbaz.net role=speakfor user? !password?
12: no key matches  proto=p9sk1 dom=foobarbaz.net role=client user? !password?
12: write 20 in phase CNeedProtos yields phase CNeedProtos: needkey !password? dom=foobarbaz.net proto=p9sk1 user?
0: no key matches
0: failure no key matches
12: start proto=p9sk1 role=client dom=foobarbaz.net yields phase CHaveChal: ok
12: write 20 in phase CNeedProtos yields phase CHaveProto: ok
12: read 20 in phase CHaveProto yields phase CRelay: ok
12: read 8 in phase CHaveChal yields phase CNeedTreq: ok
12: read 8 in phase CRelay yields phase CRelay: ok
12: read 4093 in phase CNeedTreq yields phase CNeedTreq: phase: protocol phase error: read in state CNeedTreq
12: read 4093 in phase CRelay yields phase CRelay: phase: protocol phase error: read in state CNeedTreq
12: write 0 in phase CNeedTreq yields phase CNeedTreq: toosmall 141
12: write 0 in phase CRelay yields phase CRelay: toosmall 141
12: write 141 in phase CNeedTreq yields phase CHaveTicket: ok
12: write 141 in phase CRelay yields phase CRelay: ok
12: read 85 in phase CHaveTicket yields phase CNeedAuth: ok
12: read 85 in phase CRelay yields phase CRelay: ok

Here is the corresponding entry from the auth server:

enki Jul 21 10:05:12 tr-ok madhatter@madhatter(192.168.0.10) -> madhatter@bootes

Thanks for the help.

On Sun, Jul 20, 2003 at 09:28:35AM -0400, David Presotto wrote:
> what authentication errors are you getting on the calling system?  In
> a window, 'echo -n debug > /mnt/factotum/ctl' then 'cat /dev/kprint'.
> In another window, try the attach.
>
> Most likely, the caller doesn't know which auth server to use for
> the auth domain of the file server and is just hanging up.

> From: Christopher Nielsen <cnielsen@pobox.com>
> To: 9fans@cse.psu.edu
> Date: Sat, 19 Jul 2003 22:02:44 -0700
> Subject: [9fans] fossil and auth
>
> I have setup a standalone fossil/venti fileserver. I also
> have a standalone auth server.
>
> When I try to attach to main on the fileserver, I am getting
> authentication failures. There are no errors in the logs on
> the auth server. The output on fscons is:
>
> attach main as madhatter: phase error protocol phase error: read in state SNeedTicket
>
> Any clues as to what I might have done wrong?
>
> --
> Christopher Nielsen
> "They who can give up essential liberty for temporary
> safety, deserve neither liberty nor safety." --Benjamin Franklin


--
Christopher Nielsen
"They who can give up essential liberty for temporary
safety, deserve neither liberty nor safety." --Benjamin Franklin


  reply	other threads:[~2003-07-21 14:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-20  5:02 Christopher Nielsen
2003-07-20 13:28 ` David Presotto
2003-07-21 14:13   ` Christopher Nielsen [this message]
2003-07-21 19:46     ` Christopher Nielsen
2003-07-21 21:40       ` Christopher Nielsen

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=20030721141342.GL63873@cassie.foobarbaz.net \
    --to=cnielsen@pobox.com \
    --cc=9fans@cse.psu.edu \
    /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).