mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 08:38:54 +01:00
* LDAP/Import: fix groups never matched regular expression dn-filter in import
This commit is contained in:
parent
8f5099a85d
commit
158e1a39cb
@ -882,6 +882,7 @@ class Ldap
|
|||||||
if (!$this->frontend->config['global_denied_users'][$test] && $allVals['uid'][0])
|
if (!$this->frontend->config['global_denied_users'][$test] && $allVals['uid'][0])
|
||||||
{
|
{
|
||||||
$account = array(
|
$account = array(
|
||||||
|
'account_dn' => $allVals['dn'],
|
||||||
'account_id' => $allVals['uidnumber'][0],
|
'account_id' => $allVals['uidnumber'][0],
|
||||||
'account_lid' => Api\Translation::convert($allVals['uid'][0], 'utf-8'),
|
'account_lid' => Api\Translation::convert($allVals['uid'][0], 'utf-8'),
|
||||||
'account_type' => 'u',
|
'account_type' => 'u',
|
||||||
@ -949,6 +950,7 @@ class Ldap
|
|||||||
if (!$this->frontend->config['global_denied_groups'][$test] && $allVals['cn'][0])
|
if (!$this->frontend->config['global_denied_groups'][$test] && $allVals['cn'][0])
|
||||||
{
|
{
|
||||||
$accounts[(string)-$allVals['gidnumber'][0]] = Array(
|
$accounts[(string)-$allVals['gidnumber'][0]] = Array(
|
||||||
|
'account_dn' => $allVals['dn'],
|
||||||
'account_id' => -$allVals['gidnumber'][0],
|
'account_id' => -$allVals['gidnumber'][0],
|
||||||
'account_lid' => Api\Translation::convert($allVals['cn'][0],'utf-8'),
|
'account_lid' => Api\Translation::convert($allVals['cn'][0],'utf-8'),
|
||||||
'account_type' => 'g',
|
'account_type' => 'g',
|
||||||
|
Loading…
Reference in New Issue
Block a user