fixed error in user-creation under ldap: account_id of group was send negative to the ldap-server

This commit is contained in:
Ralf Becker 2005-11-27 22:33:08 +00:00
parent d127e029da
commit 0cfdea3f97

View File

@ -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)