Changing MaxPageSize as the solution to “the max # of objects you can retrieve” is almost always a bad idea. You should use paged searches.

Here’s a bit I wrote in a mail to an alias internally just yesterday on this very topic:

 

<snip>

For MaxPageSize……tweaking this might be ok today, or even tomorrow, but consider this….one day, you’ll exceed your new MaxPageSize. It’s not a matter of if, only when. And probably only by one or two values. Then the question is, how long will you silently be dropping a few results w/o noticing? A day? A week? Longer?

Live in fear because you’ll not notice it for a while I’m sure. I hope it isn’t a query for recently fired people to remove from payroll, because after a layoff, you’ll be paying out needlessly.

The reality is that relying on MaxPageSize always imposes a glass ceiling on the # of results your directory will return to you. Paged searches _is_ the right answer.

</snip>

 

~Eric

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kern, Tom
Sent: Tuesday, May 10, 2005 1:29 PM
To: [email protected]
Subject: RE: [ActiveDir] Softerra's LDAP Browser

 

I thought by default the max # of records that can be retrieved from a query is 1000.

 

I think you can fun ntdsutil to change this or better yet, if running against win2k, you can use paging.

you set it with ldp.exe and an ldap control( i forget the number).

also with win2k3 you can use VLV

-----Original Message-----
From: Creamer, Mark [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 10, 2005 4:21 PM
To: [email protected]
Subject: [ActiveDir] Softerra's LDAP Browser

I’ve been playing around a little with Softerra’s LDAP Browser (the freeware version), and I can’t seem to be able to get it to return more than the standard 1000 records in the result set. The FAQ says to set the entry count limit to zero, but I still only get 1000. Has anyone else used this tool and figured out how to return all records? I’d love to use this thing as an ad hoc query tool.

 

Mark Creamer

Systems Engineer

Cintas Corporation

 


This e-mail transmission contains information that is intended to be confidential and privileged. If you receive this e-mail and you are not a named addressee you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so is prohibited and may be unlawful. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please delete and otherwise erase it and any attachments from your computer system. Your assistance in correcting this error is appreciated.

Reply via email to