← Back to team overview

mahara-contributors team mailing list archive

[Bug 1496690] [NEW] Support for paginated LDAP requests

 

Public bug reported:

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.

** Affects: mahara
     Importance: Medium
         Status: Confirmed


** Tags: ldap

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
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


Follow ups