3

I am relatively new to Kerberos, we have integrated Active Directory for authentication. I.E. When we do kinit ad_user, we get a valid TGT.

Now I want to run the application as a user in headless mode as application accepts Keytab. Is there a way using which we can generate a keytab for a particular user of Active Directory?

Many thanks.

1 Answer 1

2

See Creating Kerberos Keytab Files Compatible with Active Directory.

On windows host:

ktpass /princ username@MYDOMAIN.COM /pass password /ptype KRB5_NT_PRINCIPAL /out username.keytab

Kinit using keytab:

kinit username@MYDOMAIN.COM -k -t username.keytab

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.