On 04/22/2013 12:45 PM, Ray Vand wrote:
> # kinit -t /etc/krb5/krb5.keytab
> Password for sapldap/ads.company....@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@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.

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to