How to automate kinit process to obtain TGT for Kerberos?

Posted by tore- on Server Fault See other posts from Server Fault or by tore-
Published on 2012-08-30T08:11:06Z Indexed on 2012/08/30 9:40 UTC
Read the original article Hit count: 364

I'm currently writing a puppet module to automate the process of joining RHEL servers to an AD domain, with support for Kerberos.

Currently I have problems with automatically obtain and cache Kerberos ticket-granting ticket via 'kinit'.

If this were to be done manually, I would do this:

kinit [email protected]

This prompts for the AD user password, hence there is a problem with automate this.

How can i automate this? I've found some posts mentioning using kadmin to create a database with the ad users password in it, but I've had no luck.

Thanks for input

© Server Fault or respective owner

Related posts about linux

Related posts about active-directory