Skip to main content

Keytab file

A keytab is a file that contains the encrypted password for a user and should allow for joining the domain without providing credentials

This has been done on the TrueNAS server.

TrueNAS documentation on Keytab

Windows Documentation on Keytab

Example command

ktpass /princ host/User1.contoso.com@CONTOSO.COM /mapuser User1 /pass MyPas$w0rd /out machine.keytab /crypto all /ptype KRB5_NT_PRINCIPAL /mapop set

actual command that was used

C:\Users\admin.colt>ktpass -princ admin.colt@coltscomputer.services -pass ScurvyCom.modore8602 -crypto all -ptype KRB5_NT_PRINCIPAL -kvno 0 -out c:\admin.colt.KEYTAB