From 480cfccf881190642302245e592873bf597c2550 Mon Sep 17 00:00:00 2001 From: katagia Date: Mon, 15 Dec 2003 08:48:25 +0000 Subject: [PATCH] fixed problem with new groups. Additional groupmembers did not work for new groups. --- 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 be9fdca6..3f90ff13 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -2661,7 +2661,7 @@ function creategroup($values, $uselamdaemon=true) { if ($values->smb_displayName) $attr['displayName'] = utf8_encode($values->smb_displayName); } // Write additional group members - if (is_array($values->unix_memberUid)) $attr['memberUid'][] = $values->unix_memberUid; + if (is_array($values->unix_memberUid)) $attr['memberUid'] = $values->unix_memberUid; // Create LDAP group account $success = ldap_add($_SESSION['ldap']->server(),$values->general_dn, $attr); // Continue if now error did ocour