From d04b291be35d660d5eda70025b5fe8080a48abe0 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 13 Apr 2013 15:56:45 +0000 Subject: [PATCH] fixed LDAP filter --- lam/lib/modules/windowsGroup.inc | 2 +- lam/lib/modules/windowsHost.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/lib/modules/windowsGroup.inc b/lam/lib/modules/windowsGroup.inc index 8074a6c9..08534edc 100644 --- a/lam/lib/modules/windowsGroup.inc +++ b/lam/lib/modules/windowsGroup.inc @@ -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 diff --git a/lam/lib/modules/windowsHost.inc b/lam/lib/modules/windowsHost.inc index 6da35fc1..cf6ef400 100644 --- a/lam/lib/modules/windowsHost.inc +++ b/lam/lib/modules/windowsHost.inc @@ -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