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.