<div dir="ltr"><div><div><div><div>Hi guys,<br><br>I have recently been using the search feature to query for users in OUs and members in security groups. My member search query for security groups works on smaller groups, but when I run the query on big groups it just returns an error.<br>
<br></div><div>attrs = ['member']<br></div><div>filter = (&(objectCategory=group)(distinguishedName=cn=MyGroup,dc=foo,dc=bar))<br></div><div>search_dn = 'cn=MyGroup,dc=foo,dc=com'<br></div><div><br></div>
I have implemented paged querying for OUs and that works correctly. I haven't been able to get that to work with security groups. Am I going down the right path? How does one deal with security groups with many members.<br>
<br></div>Any guidance would be greatly appreciated.<br><br></div>Best,<br></div>Gary<br></div>