Searched hist:"7 a36c1b4d10d91d0ba5fea2c9897f8554f51571f" (Results 1 – 1 of 1) sorted by relevance
| /plugin/pureldap/classes/ |
| H A D | ADClient.php | 7a36c1b4d10d91d0ba5fea2c9897f8554f51571f Wed Jul 28 13:48:14 UTC 2021 Andreas Gohr <andi@splitbrain.org> add support for nested groups when filtering users by group
And this is where we hit the performance problems. A naive approach is to simply run a query using LDAP_MATCHING_RULE_IN_CHAIN on the memberOf attribute. But this is super slow (thanks Microsoft!)
Instead we first look up the given filter groups (to allow for substring matching), then resolve them recursively and then build a or filter for all found groups.
Still takes about 3 to 4 seconds :-/
|