[5050] in Kerberos

home help back first fref pref prev next nref lref last post

Re: sample_client: cannot authenticate to server: Generic kerberos error (kfailure)

daemon@ATHENA.MIT.EDU (Mike Friedman)
Thu Apr 27 14:18:57 1995

To: kerberos@MIT.EDU
Date: 27 Apr 1995 16:47:33 GMT
From: mikef@ack.berkeley.edu (Mike Friedman)

Claus Neubronner (claus@Worms.Fh-Rpl.DE) wrote:

: Hello !

: When I start the k. server and k. administration server all goes right.
: Also when I start the sample_server. I use the paper:
: Kerebros Operations Note (DRAFT) and all goes OK until Point 5.2.
: When I give in, after the kinit:

: /usr/athena/sample_client mime

: He respond with:

: usage: /usr/athena/sample_client <hostname> <checksum>

: When I try then 

: /usr/athena/sample_client mime 997

: he reply with:

: Setting checksum to 997
: /usr/athena/sample_client: cannot authenticate to server: Generic kerberos error (kfailure)

I believe I had this problem myself when I first installed MIT K4 last year.
It turned out that the sample server code was buggy and insisted in looking in 
the 'wrong' place for the srvtab file (where it finds its key).  Apparently, 
the code was not honoring my top-level directory settings and was looking 
exactly in '/etc/srvtab'.  When I moved my srvtab file there, it worked.  (I 
hope my memory is serving me correctly here).

However, I had no trouble with the supplied rlogin/rlogind, so I gave up
worrying about the 'sample' program.

Hope this helps.

------------------------------------------------------------------------
Mike Friedman                             mikef@ack.Berkeley.EDU
Data Communication & Network Services     +1-510-642-1410
University of California at Berkeley      http://www.Berkeley.EDU/~mikef
------------------------------------------------------------------------

home help back first fref pref prev next nref lref last post