On Tue, July 17, 2007 4:51 pm, Jay Blanchard wrote:
> Perhaps mistakenly for a project that I am trying to do I want to list
> all users in the Active Directory. It works pretty well with one
> exception, the error ldap_search(): Partial search results returned:
> Sizelimit exceeded.
>
> Now, I know that I can page through (I would have to figure out a
> clever
> way to display to the user) these.
>
> I have read some stuff that says the limit is hard coded in AD, so
> there
> is no way around it. I just wanted to check with you folks to see if
> you
> had any clever ideas on how to work around this.

Totally crude hack...

If you get that message, search for users whose username starts with
'A', then 'B', then 'C', ...

:-)

You could even provide an alpha index at the top/side navbar when
needed, and then have a more natural program flow.

You'd still have an issue if there were "too many" under any one
letter though... :-(

Maybe ask an ActiveDirectory mailing list, if one exists, since it's
really more in their ballpark than PHP's.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to