From 1f6de0dace2c9c3a0e062bc2d321e8eca5325a51 Mon Sep 17 00:00:00 2001 From: katagia Date: Tue, 19 Aug 2003 10:38:39 +0000 Subject: [PATCH] *** empty log message *** --- 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 77d28cf0..1f4d0fa2 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -1118,7 +1118,7 @@ function createuser($values) { // Will create the LDAP-Account // Add User to Additional Groups if ($values->general_groupadd[0]) foreach ($values->general_groupadd as $group2) { - $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_GroupSuffix(), "&((objectclass=posixGroup)(cn=$group2))", array('memberUid')); + $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_GroupSuffix(), "(&(objectclass=posixGroup)(cn=$group2))", array('memberUid')); $entry = ldap_first_entry($_SESSION['ldap']->server(), $result); $group = ldap_get_attributes($_SESSION['ldap']->server(), $entry); $dn = (ldap_get_dn($_SESSION['ldap']->server(), $entry));