*** empty log message ***

This commit is contained in:
katagia 2003-08-19 10:38:39 +00:00
parent 5f12e59872
commit 1f6de0dace
1 changed files with 1 additions and 1 deletions

View File

@ -1118,7 +1118,7 @@ function createuser($values) { // Will create the LDAP-Account
// Add User to Additional Groups // Add User to Additional Groups
if ($values->general_groupadd[0]) if ($values->general_groupadd[0])
foreach ($values->general_groupadd as $group2) { 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); $entry = ldap_first_entry($_SESSION['ldap']->server(), $result);
$group = ldap_get_attributes($_SESSION['ldap']->server(), $entry); $group = ldap_get_attributes($_SESSION['ldap']->server(), $entry);
$dn = (ldap_get_dn($_SESSION['ldap']->server(), $entry)); $dn = (ldap_get_dn($_SESSION['ldap']->server(), $entry));