I am trying to generate a keytab file using the instructions online here. No matter what I do, whether I run this on a domain controller, a member server, in PowerShell as administrator, in cmd as administrator, I get the same error:
ktpass /out app1.keytab /princ http/adtrml0.ml.test@ml.test /mapuser mlservice /crypto AES256-SHA1 /ptype KRB5_NT_PRINCIPAL /pass myP@ssword477 /target adtrml0.ml.test
Using legacy password setting method
FAIL: ldap_open failed for default server: 0x3a.
I cannot seem to find any information online about this error.
I even tried creating a fresh domain with a single DC and running this on the new DC right after promoting it, and I still get this error.
Any idea what this is all about and how I can address it?