Hi, > Was wondering if anyone out there can tell me how to oversome a > sizelimit exception that is being thrown when searching Active > Directory. I'm thinking the error (which limits search results to > 1000) could be overcome if I can set the AD pagesize attribute to 0, > but I can't find clear documentation/examples of how to do this.
This is a server-side limit, controlled using AD parameter MaxPageSize. Default value is 1000. See http://support.microsoft.com/kb/315071 for details. To perform a search where the result might exceed this number of objects, the client must specify the paged search control. This is to group the returned results in groups that are no larger than the MaxPageSize value. As far as I know, Mozilla LDAP C SDK doesn't support the paged search control, but there is a patch that adds it. Works for me. See http://groups.google.com/group/mozilla.dev.tech.ldap/browse_thread/thread/d2bc66ec83554f66# Best regards, Ivan _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
