mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:39:40 +01:00
* LDAP/UCS: groups not found when searching for them eg. in custom fields (account-type=both)
This commit is contained in:
parent
12acff3315
commit
af9cb54072
@ -704,6 +704,8 @@ class Ldap
|
|||||||
// fall-through
|
// fall-through
|
||||||
case 'start':
|
case 'start':
|
||||||
$query .= '*';
|
$query .= '*';
|
||||||
|
// use now exact, as otherwise groups have "**pattern**", which dont match anything
|
||||||
|
$param['query_type'] = 'exact';
|
||||||
// fall-through
|
// fall-through
|
||||||
case 'exact':
|
case 'exact':
|
||||||
$filter .= "(|(uid=$query)(sn=$query)(cn=$query)(givenname=$query)(mail=$query))";
|
$filter .= "(|(uid=$query)(sn=$query)(cn=$query)(givenname=$query)(mail=$query))";
|
||||||
|
Loading…
Reference in New Issue
Block a user