Issue #703 has been updated by Clément OUDOT.

You need to edit the file sendtoken.php and change the LDAP filter used to get 
user:

<pre>
    # Search for user
    $ldap_filter = str_replace("{login}", $login, $ldap_filter);
</pre>

For example:

<pre>
    # Search for user
    $ldap_filter = str_replace("{login}", $login, 
"(&(uid={login})(!(someattribute=1)))");
</pre>
----------------------------------------
Feature #703: Restrict some ldap accounts from using tokens to restore password
http://tools.lsc-project.org/issues/703

Author: alex p
Status: New
Priority: Normal
Assigned to: 
Category: Self Service Password
Target version: 


I wonder how hard to implement such feature in SelfServicePassword?

For example if account in LDAP has 'someattribute=1' then it will not be 
allowed to reset password with email.


-- 
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