I am trying to test out the ability to get creds from a keytab for a non "host" credential. kinit -k -S _service_name_ is supposed to work, but it doesn't.
Am I using this properly or is this a bug in kinit (or krb5_get_init_creds API) ? # kinit -k -S imap kinit(v5): Server not found in Kerberos database while getting initial credentials The imap service key is in the default keytab, though. # klist -kt ... 3 12/05/07 08:49:32 imap/foo.bar.sun.com at SUN.COM 3 12/05/07 08:49:32 imap/foo.bar.sun.com at SUN.COM 3 12/05/07 08:49:32 imap/foo.bar.sun.com at SUN.COM 3 12/05/07 08:49:32 imap/foo.bar.sun.com at SUN.COM 3 12/05/07 08:49:32 imap/foo.bar.sun.com at SUN.COM ... The "-S" option also fails with the "host" service, which is supposed to be the default: # kinit -k -S host kinit(v5): Server not found in Kerberos database while getting initial credentials Any thoughts? -Wyllys