[Samba] Editing user password hashes
Reese Wang
thuwrx10 at gmail.com
Mon Aug 21 02:08:09 UTC 2023
Hi all. I'm migrating from a small OpenLDAP setup and currently have
users' password hashes in {SSHA} and {CRYPT}$5$.16s format.
Can I just ldbedit or ldbmodify user's supplementalCredentials fields
in /var/lib/samba/private/sam.ldb.d/DC%3DAD%2CDC%3DEXAMPLE%2CDC%3DCOM.ldb
to migrate passwords?
Provided that I could get the data structure right. (Documentations
about supplementalCredentials should be here I think
https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-samr/84cefe3e-a688-4232-b997-ac5d9993f5eb)
I have "ntlm auth = disabled" in smb.conf so I think not having NT
hash is not a problem.
More information about the samba
mailing list