SAM database "set user info".
[samba.git] / source3 / passdb / ldap.c
index fad67cb79f6348e2615fd2051ff9253ed3ff4e3b..7bdbdab320e6cc0e1bc4bc934b19b1f0ff178d21 100644 (file)
@@ -187,7 +187,7 @@ struct smb_passwd *ldap_getpw(void)
                smbpw.acct_ctrl = ACB_NORMAL;
 
        if(ldap_get_attribute("lmPassword", temp)) {
-               pwdb_gethexpwd(temp, smblmpwd);
+               pwdb_gethexpwd(temp, smblmpwd, NULL);
                smbpw.smb_passwd = smblmpwd;
        } else {
                smbpw.smb_passwd = NULL;
@@ -195,7 +195,7 @@ struct smb_passwd *ldap_getpw(void)
        }
 
        if(ldap_get_attribute("ntPassword", temp)) {
-               pwdb_gethexpwd(temp, smbntpwd);
+               pwdb_gethexpwd(temp, smbntpwd, NULL);
                smbpw.smb_nt_passwd = smbntpwd;
        } else {
                smbpw.smb_nt_passwd = NULL;