[2572] in Kerberos
Re: Running sample's service
daemon@ATHENA.MIT.EDU (Ruixi Yuan)
Tue Feb 9 12:56:25 1993
Date: Tue, 9 Feb 93 11:28:51 CST
From: yuan@syl.dl.nec.com (Ruixi Yuan)
To: simon@rsm.enst-bretagne.fr
Cc: kerberos@Athena.MIT.EDU
>Hi,
>
>I'm trying to install Kerberos 5 Beta 2 on a Sun 4.1.2 platform.
>
>3 weeks ago, I got krb5kdc server running with its database and
>I even obtain tickets with kinit operations.
>Next step is services implementation and then the problems begin.
>
>as starter, I tried the sample service so here are the entries in
>the main files
>/etc/services: sample 906/tcp
>/etc/inetd.conf: sample ... [PATH]/appl/sample/sserver/sserver sserver sample
>and in the KDB: sample/host_name
>
>when using the sclient program, I can get a ticket from the TGS for
>the sample service and inetd runs the server well.
>But the server's answer is : "Wrong principal in request".
>I checked packet's content and everything seems fine to me,
>so where's the problem ?
>is one of the entry wrong in the /etc files or in the database ?
>
>thanks in advance.
>
>Jean-Yves Simon
>
>PS: I'd really appreciate any documentation or notes about Operating Kerberos V5
>(the ones I have are from Kerberos4 I think)
>
>+++++++++++++++++++++++++++++++++++++++++
>+ CELAR +
>+ Division SSIG/SSI.SI +
>+ 35170 BRUZ-FRANCE +
>+ Tel: +33 99 42 99 65 +
>+ e-mail:simon@rennes.enst-bretagne.fr +
>+++++++++++++++++++++++++++++++++++++++++
>
>
The "Wrong principal" messages is caused by sserver doesn't append
the domain name into the service principal. You can correct it
by adding a line into the source code.
Do something like:
{
strcpy(principal,"sample/hostname.domainname");
}
BTW, I don't think there is a V5 operation notes similar to V4.
--- Ruixi Yuan
yuan@syl.dl.nec.com