Setting up a kerberos client machine


The client machine needs to know where the kerberos server (kdc) is and what realm it should use. All is set up in the krb5.conf file on our kerberos server. Just copy the file over to the client machine. On the client machine enter:

cd /etc
scp kerberos.redflo.de:/etc/krb5.conf .


We can instantly test it on the client machine:
kinit joe
Password for joe@REDFLO.DE: 
klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: joe@REDFLO.DE

Valid starting     Expires            Service principal
07/21/05 16:28:48  07/22/05 02:28:48  krbtgt/REDFLO.DE@REDFLO.DE
        renew until 07/22/05 16:30:17


Kerberos 4 ticket cache: /tmp/tkt0
klist: You have no tickets cached


Note: On Solaris 10 the kerberos client config is at
/etc/krb5/krb5.conf