[turba] Browsing shared directory doesn't pull all records from LDAP

Andrew Morgan morgan at orst.edu
Wed Jun 11 22:00:58 UTC 2008


On Wed, 11 Jun 2008, Sean Coleman wrote:

> Hello,
>
> I am not a LDAP person so please bear with me. I set up my shared LDAP
> addressbook
> using the settings I use for my addressbook in Thunderbird. When I
> browse the addressbook
> and select all, it only shows entries from A - C. When I click on a
> letter at the top of the screen
> which is greater than C, I get back "No matching contacts".
>
> I have determined that sizelimit has something to do with it. When I set
> it to 6, I did get back
> 6 entries from the letter A when browsing all. I increased the value to
> 10000 and still only got
> back entries from A to the middle of C. Is there an external limit I am
> hitting with LDAP which
> has nothing to do with turba? If there is no limitation, is there
> something I can do to the configuration
> so all the entries are retrieved?

Sean,

Some LDAP servers have a configurable limit on the number of entries 
returned.  We use the Sun Directory Server here, and I have it configured 
to return a maximum of 200 entries unless the connection is authenticated 
as an administrator.

If I use ldapsearch to look for names containing "smith", it will return 
200 entries followed by:

# search result
search: 2
result: 4 Size limit exceeded

# numResponses: 201
# numEntries: 200


You could use the ldapsearch tool similarly and see if it says "Size limit 
exceeded" on your LDAP server.  You LDAP administrator can probably answer 
these questions also.

 	Andy


More information about the turba mailing list