fixed LDAP filter for account lists
This commit is contained in:
parent
94aac30fed
commit
9a947e780f
|
@ -115,6 +115,8 @@ class posixAccount extends baseModule {
|
|||
$return['dependencies'] = array('depends' => array(), 'conflicts' => array());
|
||||
}
|
||||
elseif ($this->get_scope() == "host") {
|
||||
// LDAP filter
|
||||
$return["ldap_filter"] = array('or' => "(objectClass=posixAccount)");
|
||||
// module dependencies
|
||||
$return['dependencies'] = array('depends' => array(), 'conflicts' => array());
|
||||
}
|
||||
|
|
|
@ -132,6 +132,8 @@ class sambaSamAccount extends baseModule {
|
|||
$return["RDN"] = array("sambaSID" => "low");
|
||||
// module dependencies
|
||||
$return['dependencies'] = array('depends' => array('posixAccount'), 'conflicts' => array());
|
||||
// LDAP filter
|
||||
$return["ldap_filter"] = array('or' => "(objectClass=sambaSamAccount)");
|
||||
// managed object classes
|
||||
$return['objectClasses'] = array('sambaSamAccount');
|
||||
// managed attributes
|
||||
|
|
Loading…
Reference in New Issue