How to automate kinit process to obtain TGT for Kerberos?
- by tore-
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