Example of command for Windows keytab file
Following is an example of the command for Windows keytab file.
ktpass.exe -princ user1@EXAMPLE.COM -mapuser user1@EXAMPLE.COM -pass P@ssw0rd -ptype KRB5_NT_PRINCIPAL -out user1.keytab
Verifying the keytab file
After the keytab file is generated, copy the keytab file to a UNIX machine having kinit utility.
Verify the connection with DNS using - kinit <User Name>@<DNS DOMAIN> which is kinit user1@EXAMPLE.COM.
Enter the password of user1. On successful execution of the command, verify the keytab file using: kinit user1@EXAMPLE.COM -k -t user1.keytab