This patch has an implementation of paged results for the user synchronisation via ldap. Also catching errors when hitting a size limit that is not taken care of in the current implementation. Patch is against 22.04.2, but also works in 22.04.3 and should be good for 22.10 also, but untested.
** Patch added: "ldap.patch" https://bugs.launchpad.net/mahara/+bug/1496690/+attachment/5658563/+files/ldap.patch -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: mahara-contributors https://bugs.launchpad.net/bugs/1496690 Title: Support for paginated LDAP requests Status in Mahara: Confirmed Bug description: As described here: https://mahara.org/interaction/forum/topic.php?id=7351&offset=0&limit=10 The Mahara LDAP auth plugin (which was originally written for PHP 5.3) doesn't do paginated LDAP requests. This causes problems with ActiveDirectory, which will only return 1000 results at a time. PHP 5.4 added support for paginated LDAP. We should update the auth plugin to use this functionality. In order to still work in 5.3, we should use a function_exists() call to check for the existence of the paginated LDAP methods and only use them if they're available. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1496690/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

