Issue with Kerberos setting in Sun Solaris 10

Greg Hudson ghudson at MIT.EDU
Mon Apr 22 12:54:11 EDT 2013


On 04/22/2013 12:45 PM, Ray Vand wrote:
> # kinit -t /etc/krb5/krb5.keytab
> Password for sapldap/ads.company.com at COMPANY.COM: 

> # kinit -k -t /etc/krb5/krb5.keytab
> kinit(v5): Client not found in Kerberos database while getting initial credentials

You need to specify the principal name (kinit -k sapldap/ads.company.com).

In the second command, because you're using the -k option, the default
principal name is is host/localhostname at defaultrealm, where
localhostname is the canonicalized local hostname.

In the first command, because you're not using -k, the default principal
name is taken from the existing credential cache if you have one (which
I'm guessing you do), or from your local system if you do not.



More information about the Kerberos mailing list