David,
I have a server (Novell 5.1) that I can't get to return more than 500
entries, no matter what the documentation from novell says.
I loop through 26 searches, one for each letter of the alphabet, searching
for (cn=$x*) where $x is the letter I'm currently searching for. I can
guarantee that I don't have more than 500 'smith's (or whatever), so this
works well for me. I then just tack all the results together before
fiddling with them.
If I had numerical UID's, then I could probably search for (UID=$y*) where
$y is the number 1 through 10, and reduce the search cound significantly.
Oh well.
David.
At 11:46 AM 5/8/01 +0300, you wrote:
>We use Net::LDAP to search for users on directory servers. We're trying to
>figure out the best way to deal with the search limit that directory servers
>impose on LDAP searches. For AD, this limit seems to be 1000, while with
>Netscape it seems to default to 1000 but is configurable. If X is the search
>limit and there are > X users, we don't get accurate results. We need a way
>to get back all users, perhaps in smaller chunks.
>
>Someone suggested we use Paging, but that while it's supported by Active
>Directory, the answer for other directory servers in the future will be VLV.
>
>Can anyone suggest a good strategy for now?
>What's with VLV - when will there be a stable perl module for this?
>Which directory servers, if any, support Paging other than AD?
>Where can I finds helpful info and examples for either Paging or VLV?
>
> Thanks in advance.
>
>- David Cikk
>
>
>
>
>
--------------------------------------------------------------------
David Bussenschutt Email: D.B...@ma...
Senior Computing Support Officer & Systems Administrator/Programmer
Location: Griffith University. Information Technology Services
Brisbane Qld. Aust. (TEN bldg. rm 1.33) Ph: (07)38757079
--------------------------------------------------------------------
|