Issue #529 has been reported by jm co.

----------------------------------------
Feature #529: Check if user is samba user when sambamode is true
http://tools.lsc-project.org/issues/529

Author: jm co
Status: New
Priority: Normal
Assigned to: 
Category: Self Service Password
Target version: self-service-password-0.8


If sambamode is true and user doesn't have sambaSamAccount class, password 
update while fail.

Here is the diff functions.inc.php correcting this

201,202c201,204
<         $userdata["sambaNTPassword"] = make_md4_password($password);
<         $userdata["sambaPwdLastSet"] = time();
---
>       if (ldap_compare($ldap, $dn, "objectclass","sambaSamAccount")){
>               $userdata["sambaNTPassword"] = make_md4_password($password);
>               $userdata["sambaPwdLastSet"] = time();
>       }



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________
ltb-dev mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-dev

Reply via email to