Je suis currently writing a puppet module to automate le process of joining RHEL servers to an AD domain, avec support for Kerberos.
Actuellement, J'ai problems avec automatically obtain et cache Kerberos ticket-granting ticket via `kinit`. If this were to be done manually, I would do this:
```
kinit [email protected]
```
This prompts for le AD user password, hence there is a problem avec automate this.
How can I automate this? J'ai found certains posts mentioning using `kadmin` to créez un database avec le AD users password in it, mais J'ai had no luck.
Comment automatiser le processus kinit pour obtenir un TGT Kerberos ?
Re: Comment automatiser le processus kinit pour obtenir un TGT Kerberos ?
Stupid me, you can simply use suivant command:
```
echo "password" | kinit aduser@REALM
```
```
echo "password" | kinit aduser@REALM
```