Skip to Content.
Sympa Menu

en - Re: [sympa-users] Overcoming AD query limit

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: address@concealed
  • To: "Ward, Michael" <address@concealed>
  • Cc: sympa-users <address@concealed>
  • Subject: Re: [sympa-users] Overcoming AD query limit
  • Date: Mon, 12 Nov 2007 09:04:43 +0100

Ward, Michael wrote:

Hi,

Sympa 5.2.2 on RHEL 5.

I’ve set up a list using an ldap query to update the group members, however I’ve struck the following problem:

Nov 12 11:47:12 tur-lists1 wwsympa[14181]: List::_include_users_ldap() Ldap search failed : Sizelimit exceeded (searching on server dc.massey.ac.nz:389 ; suffix OU=Clients,DC=massey,DC=ac,DC=nz ; filter (&(mailnickname=*)(Description=Staff User)) ; attrs: mail)

I believe the query limit for our domain is 2,000. Is there currently any way to get around the ldap query limit?

I do have a number of other smaller lists already using ldap queries, so I know there’s nothing wrong with my current config.

Regards,
Michael Ward

There is no solution because this limit is a security limit comming from you LDAP server. May be it wouild dangerous to modify this limit. The only solution i can see is a dirty solution : use multiple include LDAP queries into your list configuration with deferent filters in a way each query retreive less than 2000 answers and all queries togother cover the original filter.

You may also dump periodically the LDAP category you are looking for on a file served by an httpd server. Then include this remote file from Sympa.

No one of thoses solutions is clean...
Serge



Archive powered by MHonArc 2.6.19+.

Top of Page