Samba4.9 Openldap Syncpassword problem
Izzet Aydın
izzet.aydin at pardus.org.tr
Fri Apr 26 12:18:43 UTC 2019
Hello everyone,
I'm trying to synchronize userpasswords of my samba4 ad dc with openldap
server.
I use
password hash userPassword schemes = CryptSHA256
in my smb.conf
When i set password at samba4 and check the password get the response
#samba-tool user getpassword deneme --attributes=virtualCryptSHA256
dn: CN=deneme,CN=Users,DC=test,DC=local
virtualCryptSHA256:
{CRYPT}$5$gLsOvhSnbEgEqGZO$YAlFzzFMBLpUGUImyI34vI7qP3wcvaM
3lj3FIcsMNy0
Got password OK
When i run syncpassword with my python code i see on my openldap server,
userPassword is set
like the following
{CRYPT}$5$gLsOvhSnbEgEqGZO$YAlFzzFMBLpUGUImyI34vI7qP3wcvaM
However, when i try to verify the password or login a ldapclient, the
request returns wrong password.
Where did i do wrong ? How can i change "password hash userPassword
schemes" to SSHA.
Thanks in advance
More information about the samba-technical
mailing list