Open Denis-shl opened 6 months ago
hello, i have same issue, have u solve this problem?
I know the reason why we got the error, KDC enabled 'preauth' flag, only the key in KDC can be authed (check the KVNO via kadmin.local -q 'getprinc User'
) but kt.AddEntry("User", "EXAMPLE.COM", password, ts, kvno, et)
way generate key from password, not go through preauth
Hello!
I am using the function
I get kvno using the kvno console utility. The password has been verified using kinit.
The file was saved to disk. Executing the command (kinit -k -t kt.key principal). I get an error: (kinit: Preauthentication failed while getting initial credentials)
Why can't I generate a valid keytabFile?