Platform: CentOS 5.0 with php-ldap installed
IMAP: UW imap-2007
LDAP server: Windows 2000 Server running as the domain controller
From the addrbook_popup.php script we are unable to obtain the complete list of LDAP addresses from our Microsoft Active Directory server. The list includes only the first 127 entries from the server.
We have tried various combinations of "maxrows" and "timeout" settings and invariably see only these same 127 entries.
In particular, we tried setting the maxrows and timeout values to zero following the advice in:
but that did not work in our case.
Debugging indicates that the call to the LDAP server is using values of zero for both parameters. Trying values like 10000 for maxrows and large positive integers for the timeout value produce similar results. It doesn't appear to be a timeout problem because the list is returned to the user in just a second or two, well under the default of 300 seconds in the code.
Perhaps there's some extra parameter that needs to be sent to MS AD servers, or perhaps this problem doesn't occur using Win 2003 server? An upgrade to the latter is in the works, so if that's the problem, it will be fixed by the upgrade.
Otherwise, we are at a loss about what steps to take next.
Log in to post a comment.