fixed LDAP filter

This commit is contained in:
Roland Gruber 2013-04-13 15:56:45 +00:00
parent c86878e90f
commit d04b291be3
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ class windowsGroup extends baseModule {
// RDN attribute
$return["RDN"] = array("cn" => "high");
// LDAP filter
$return["ldap_filter"] = array('or' => "(objectClass=group)");
$return["ldap_filter"] = array('and' => "", 'or' => '(objectClass=group)');
// alias name
$return["alias"] = _("Windows");
// module dependencies

View File

@ -52,7 +52,7 @@ class windowsHost extends baseModule {
// RDN attribute
$return["RDN"] = array("cn" => "high");
// LDAP filter
$return["ldap_filter"] = array('or' => "(objectClass=computer)");
$return["ldap_filter"] = array('and' => "", 'or' => '(objectClass=computer)');
// alias name
$return["alias"] = _("Windows");
// module dependencies