The keytab file is created on the domain controller server or on a Windows Server computer that is part of the domain, under a domain administrator account.
To create a keytab file:
kwts-ldap
).When creating a password, you must select the Password never expires option.
kwts-ldap
user. To do so, run the following command in the command line:C:\Windows\system32\ktpass.exe -princ kwts-ldap@<realm Active Directory domain name in uppercase> -crypto AES256-SHA1 -ptype KRB5_NT_PRINCIPAL -pass <kwts-ldap user password> -out <path to file>\<file name>.keytab
You can use the * character as the value of the -pass parameter to avoid indicating the password in the text of the command. In this case, the utility prompts you for the password when you run the command.
Example:
|
The keytab file will be created. If you change the user account password, you will have to generate a new keytab file.
Page top