-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a keytabFile for FreeIPA #537
Comments
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 |
@meoww-bot Tell me please , did you manage to successfully generate a keytabfile?I tried to figure out how the original freeipa-getkeytab generation function works and rewrite it to Go, but I failed. |
Nope, do u know mean ipa-getkeytab , AFAIK , its not a good way for generating a keytab file.
But I want to export current valid keytab file. Because "KDC enabled 'preauth' flag, only the key in KDC can be authed", we can only export keytab file by kadmin.local I want to try to use ktadd original code : https://github.com/krb5/krb5/blob/ff4d99b1e4f7b652fc98330c21d1c92e01f14736/src/kadmin/cli/keytab.c#L55 how to implement it in Go? its hard for me, i dont know how to read C, seems u are good at C, maybe u can find a way? |
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?
The text was updated successfully, but these errors were encountered: