[Date Prev][Date Next]
RE: Ldapsearch - how to retrieve multiple pages
The standard for multiple pages includes VLV and Paging found in MS Active Directory. Unfortunately, we couldn't get that to work.
The problem does lie in the functionality of the Microsoft LDAP client which was written as a Address Book provider. It does bind and unbind at intervals and doesn't maintain a "show all" or sorting function.
The work around resulted in writing an address book provider with the same look and feel as Exchange's Global Address List (GAL).You select it from the list of AB providers.
The only problem, if you consider it a problem, is in large Enterprises perforamnce is still slow. SO, we wrote client side caching.
The metrics I was given were: 1) check names in 3 seconds, 2) download an unsorted LDAP list in 10 seconds and 3) download the LDAP list in 15 seconds sorted.
I achieved instantaneous results with check names by indexing the DN used by Microsoft and with client side caching we had the download and sort to 3 seconds.
But, we still lost the account. It's the same problem: Microsoft Exchange Administrators. Welcome to the "real world" - NeMorpheous
BTW Bynari has the handy work and you can download it.
John Horne <J.Horne@plymouth.ac.uk> wrote:
>On 24-Sep-2002 at 19:12:03 Andrew Diederich wrote:
>> Turns out Exchange limited the number of records returned.
>Yup...it seems to be a 1000, don't know if that is the MS default though.
>> For that, you go to the Site (green ball thing) > Configuration >
>> Protocols LDAP (Directory) Site Defaults. Then go to the Search tab,
>> and change the Maximum number of search results returned box. I can't
>> remember if I had to restart the service or not.
>Nope. I have no control over the server and the Exchange/ldap server team are
>not going to raise the current limit.
>The only thought and suggestion I've had about this is to use ascript to
>return all the users who's names begin with 'a', then 'b', 'c' and so on. To
>ensure that no single letter goes over 1000, I may need to use 'aa', 'ab',
>'ac' and so on. It's not nice, but hopefully it'll work.
>John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914
>PGP key available from public key servers
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/