[5579] in Kerberos
HELP !!
daemon@ATHENA.MIT.EDU (Jose Zaragoza Garcia)
Tue Aug 1 18:12:07 1995
Date: Tue, 1 Aug 95 16:02:25 CST
From: zgj16234@foreigner.class.udg.mx ( Jose Zaragoza Garcia)
To: kerberos@MIT.EDU
I have some problems while I'm running the sample program to prove Kerberos.
I have a lot of time trying to resolve this problem and I can't find what's wrong!!!
Can you help me?
I will thank you.
Scenario:
1) I installed the KDC in a host named 'osa', its domain is class.udg.mx
This is my 'krb5.conf' file:
> [libdefaults]
> ticket_lifetime = 600
> default_realm = CLASS.UDG.MX
>
> [realms]
> CLASS.UDG.MX = {
> kdc = osa.class.udg.mx
> admin_server = osa.class.udg.mx
> default_domain = udg.mx
> }
> [domain_realm]
> .udg.mx = CLASS.UDG.MX
> .class.udg.mx = CLASS.UDG.MX
> osa.class.udg.mx = CLASS.UDG.MX
2) I added the entry sample/osa.class.udg.mx
and my username 'zgj16234' to the Kerberos database.
This is my completly kerberos database:
> entry: krbtgt/CLASS.UDG.MX@CLASS.UDG.MX
> entry: zgj16234@CLASS.UDG.MX
> entry: sample/osa.class.udg.mx@CLASS.UDG.MX
> entry: K/M@CLASS.UDG.MX
3) I created a 'etc/v5srvtab' file on 'osa' (executing: 'xst osa.class.udg.mx sample'
on 'kdb5_edit'). Note that 'osa' also is my sample server.
4) I copied 'kinit','klist','kdestroy' and 'sclient' on the client machine.
5) I updated the 'etc/services' file on the client and server machines adding the line:
> sample 906/tcp
6) Also I updated the 'etc/inetd.conf' file on 'osa' adding the line:
> sample stream tcp nowait root krb5/sbin/sserver sample_server
and I reinitialized the 'inetd' process.
-----------------
I obtained the TGT ussing 'kinit' and check it with 'klist':
> # klist
> Ticket cache: /tmp/krb5cc_3
> Default principal: zgj16234@CLASS.UDG.MX
> Valid starting Expires Service principal
> 1-Aug-95 11:57:57 1-Aug-95 19:57:50 krbtgt/CLASS.UDG.MX@CLASS.UDG.MX
But, when I run the 'sclient' program I obtained this error:
***********************************************************************************
> # sclient osa
> sclient: Bad nameset passed to query routine while creating server name for osa
***********************************************************************************
Do I have to modify my krb5.conf ?
Is there an entry in the Kerberos database that is wrong ?
What can I do ?
I need your HELP !!!!!
Thanks !!
-- J.Marcos