support 389ds (de)activation
This commit is contained in:
parent
2509cb1d68
commit
f4f6b7c34c
|
@ -1065,6 +1065,16 @@ class lamUserList extends lamList {
|
|||
return windowsUser::isDeactivated($attrs);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns if the 389ds is activated.
|
||||
*
|
||||
* @param array $attrs LDAP attributes
|
||||
* @return boolean 389ds available
|
||||
*/
|
||||
public static function is389dsAvailable(&$attrs) {
|
||||
return in_array('locking389ds', $_SESSION['config']->get_AccountModules('user'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns if deactivated by nsAccountLock.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue