How to generate kerberos keytabs

For AD accounts 1.From shell #ktutil 2. Add an entry as below ktutil:addent -password  -p username@realm.com -k 1 -e RC4-HMAC ktutil:wkt  username.keytab ktutil:q For FeeIPA accounts Use the below command #ipa-getkeytab -s ipa.host.com -p username@realm.com  --keytab=username.keytab --password Try kinit using the keytab as below #kinit username@realm.com -k -t username.keytab Note: Change the username  accordingly.

Advertisements