fixed problem with new groups.
Additional groupmembers did not work for new groups.
This commit is contained in:
parent
8f1741dc1e
commit
480cfccf88
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue