Has DirectorySearcher SizeLimit Changed? How to Set/See the SizeLimit Value?

  • Thread starter Thread starter Randy Bradley
  • Start date Start date
R

Randy Bradley

The DirectorySearcher was limited to 1000 results I thought. Now, if
I
don't set SizeLimit, its returning over 3000 (all my objects).

Has something changed? Where is the max Searcher SizeLimit set on the
server, and how can I verify this value. I found an article at
http://lucaslabs.net/blogs/lucast/archive/2004/02/26/509.aspx
that says you can modify this limit on the 'container properties', but
I can
find no such setting.
 
When going through LDAP the default page size will be 1000 entries.
If you're wanting to check/change this run 'ntdsutil.exe' and goto to
the 'LDAP Policies' section. Connect to the domain controller you
want to see this value on and then type in 'Show Values'.

This will display the current LDAP values for that server.


- Stefan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top