mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fixed error in user-creation under ldap: account_id of group was send negative to the ldap-server
This commit is contained in:
parent
d127e029da
commit
0cfdea3f97
@ -891,7 +891,7 @@
|
||||
foreach($account_info['account_groups'] as $key => $value)
|
||||
{
|
||||
// search for the group
|
||||
$filter = 'gidnumber=' . (int)$value;
|
||||
$filter = 'gidnumber=' . abs($value);
|
||||
$justThese = array('memberuid');
|
||||
$sri = ldap_search($this->ds, $this->group_context, $filter, $justThese);
|
||||
if($sri)
|
||||
|
Loading…
Reference in New Issue
Block a user