title: How do I query large security groups with LDAP?
body: <p>LDAP Library: python-ldap</p>
  
  <p>I am trying to query a security group with around 1,000 users to get the list of members.
  These are my search preferences I am using to query a security group.</p>
  
  <pre><code>Filter: (&amp;(objectCategory=Group)(distinguishedName=cn=SomeGroup,dc=foo,dc=bar))
  base dn: cn=SomeGroup,dc=foo,dc=bar
  attributes: ['member']
  </code></pre>
  
  <p>I know that this query works with smaller groups because I have tested it and received the list of members it contains. </p>
  
  <p>I have also tried implementing paged group searching, but it doesn't return anything in its payload and instead returns an empty error message. My paging size is 1 so getting too many users with paging shouldn't be a problem. I have tested my paged searching on organizationalUnits(OU) so I know it's implemented correctly.</p>
  
  <p>Any help or suggestions would be greatly appreciated.</p>