-
Notifications
You must be signed in to change notification settings - Fork 4
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
Cannot find kdb5_util executable in Mac OS X 10.11 #4
Comments
Oh, Mac OS X seems to have replaced Kerberos implementation from MIT to Heimdal. I didn't know that. Could we support enhanced documents for Heimdal? |
It should not be an issue if your Apple OD uses Heimdal, but for generating the supplementalCredentials attribute of AD you will most likely have to change this section of the hash conversion code: https://github.com/physcip/od2samba4/blob/master/extract_hashes.py#L31 |
@Jeija : hm.. I could not find hprop... I'll look into this further. Thank you. |
Please do document the process if you figure out how to export the Kerberos database from Heimdal. We have only used MIT Kerberos (Mac OS X 10.6). In #1 someone migrated from OS X 10.9, but didn't transfer the Kerberos passwords. |
Also, |
@mkuron: Thanks for your help! As you said, I tried to found hprop to dump Heimdal database but cannot found it... Another question, Can I migrate NTLM password with od2samba4? AFAIK, but due to my lack of knownledge, I'm not quite sure it. |
Yes, You cannot set the |
Did someone find a way to dump the kerberos database with OSX using heimdal ? |
We were struggling with this for a while now and we think we found a solution! On your OD-Server go into the Server app. On the left under Advanced -> Open Directory there should be "Server". Below that is a cog-icon where you can archive the whole OD server. Click it and give it a strong password. After the export is done, mount the .sparseimage (use the PW you just entered) and look into the "authdata.ldif" file. Whip up a script that aggregates them into a
Go through this list manually and set the Continue the migration with step This will migrate the NTLM hashes only (!). Test thoroughly if this is sufficient for you. It was enough for samba to grant SMB access to Mac Clients and enough for Winbind to grant SSH access to debian domain members. You could order a "User has to change passwords next time they log in" on every user to make sure that all other hashes are generated. |
Hello!
I want to dump Kerberos Database with kdb5_util but I cannot find this executable in my Mac OS X 10.11 Server.
How can I dump my Kerberos database?
The text was updated successfully, but these errors were encountered: