FeatureFuel
0

'searchUsers' executes slowly with ldapquery

Source: nextcloud/server#32188 · opened by @LoveWaguan
'searchUsers' executes slowly with ldapquery: there a lot of groups、members in my AD, when i debug code ,i find displayNamesInGroup execution takes too long,should we change this function, do not get all displayname then filter. i suggest change this , 1.get groupdn by gid 2.get users by filter with -searchBase or groupdn `/ * get a list of all display names in a group * * @param string $gid * @param string $search * @param int $limit * @param int $offset * @return array an array of display names (value) and user ids (key) */ public function displayNamesInGroup($gid, $search =...

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?