fixed LDAP filter for account lists

This commit is contained in:
Roland Gruber 2009-10-06 17:00:43 +00:00
parent 94aac30fed
commit 9a947e780f
2 changed files with 4 additions and 0 deletions

View File

@ -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());
}

View File

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