active-directoryldapkeytab

How to create keytab file via LDAP?


We can create objects like Users and Groups via LDAP.

The question is how to create keytab file using LDAP?

I need somehow to run the following command and obtain the ffs.keytab file using LDAP.

ktpass -princ HTTP/xyzid.xzu.io@DC.YOURADDOMAIN.LINK -mapuser ffs@DC.YOURADDOMAIN.LINK -crypto ALL -ptype KRB5_NT_PRINCIPAL -pass +rndPass -out c:\ffs.keytab


Solution

  • What do you think about Kerberos.NET? This library contains several features for integrate LDAP with dot net core applications, include create keytab files. Here have one thread commented by Steve Syfuhs, principal contributor of this library.