From 6e3f868372c82ce233624491884ed9e7f5a71d67 Mon Sep 17 00:00:00 2001 From: katagia Date: Wed, 12 Nov 2003 14:24:23 +0000 Subject: [PATCH] fixed loaduser --- lam/lib/account.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/account.inc b/lam/lib/account.inc index 504d9d33..82f743ea 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -945,7 +945,7 @@ function loaduser($dns) { * output only the selcted users because searchfilter would be too big */ if (strlen($search)<1024) $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_UserSuffix(), $search); - else $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_UserSuffix()); + else $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_UserSuffix(), "uid=*"); $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); // store smb_domain as samba3domain-Object