[5547] in Kerberos
Kerberos 4, Patch Level 9
daemon@ATHENA.MIT.EDU (Ayse Ekinci)
Mon Jul 24 22:35:36 1995
Date: Tue, 25 Jul 1995 12:23:13 +1000 (EST)
From: Ayse Ekinci <polat@deakin.edu.au>
To: kerberos-request@MIT.EDU
Cc: kerberos@MIT.EDU
(Please send replies direct to my email address .. )
Sample_server/Sample_client: problems, any help would be immensely
appreciated ..
Compiled the Kerb4 source with the following changes to the
/util/imake.includes/config.imake file:
GLOBAL_CDEFS= -Dsun -Dsparc -DSunOS=41 -DBSD42 -DKERBEROS -DVFS \
$(NOENCFLAG) $(DBMFLAG) $(SHMFLAG)
Fired up kerberos and kadmind.
Entered the following;
Principal Name: sample
Instance: sol
in the database.
Created my srvtab file and placed it in /etc/srvtab
Before I tested the sample_server, I grabbed a ticket granting ticket using
the kinit and utility (otherwise i get an error):
Ticket file: /tmp/tkt1567
Principal: ayse@DEAKIN.EDU.AU
Issued Expires Principal Jul 24 13:03:38 Jul 24 21:03:38
krbtgt.DEAKIN.EDU.AU@DEAKIN.EDU.AU
(Nb: I made all the appropriate entries
to the /etc/services and /etc/inetd.conf files)
I then tried to run sample_server, using the following command:
/sample_client sol 43
.. which responded with the following error message:
./sample_client: cannot authenticate to server: Generic kerberos error
(kfailure).
We tracked it down to the: krb_recvauth/krb_sendauth routine.
sample:server
/* we want mutual authentication */
authopts = KOPT_DO_MUTUAL;
status = krb_recvauth(authopts, 0, &clt_ticket,
#ifdef DEBUG
TEST_SERVER,
#else
SAMPLE_SERVER,
#endif
instance, &peername, &myname, &auth_data, SRVTAB,
sched, version);
I guess what concerns me is the fact that we might have to change the
source code. I thought kerberos would compile and run ok under our SUnOS
4.1 machines. I guess what I am getting at is; is there something
very simple we neglected to do ie. with our compilation configuration or
database entries which would correct for the above indicated error
many thanks in advance
in anticipation
ayse
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ayse Ekinci e-mail: polat@deakin.edu.au
Course Development Centre phone: +61 052 27 2546
Educational Development and Research Services
Deakin University phone AH: +61 052 :-)
Geelong, Victoria 3217 fax: +61 052 27 2177
AUSTRALIA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~