From: Francis Cianfrocca Date: 2006-08-30T00:44:13+09:00 Subject: Re: ruby-ldap on Windows (built) On 8/29/06, Rcmn 73 wrote: > This is a very good new that Net::LDAP does not have this limitation. > As our Active directory limitation it has probably limitated to > 1500.Using PHP or the DS command's i can get various result but i was > never able to get more than 1500+.And depending of the periode of the > day PHP or DS cmd would just died without any return.Anyway with the > python module i get a consitent 1500.So maybe as u mention the > limitation is an AD setting. > So i assume i will run into that limitation also with Net::LDAP...Or > Net::LDAP process search by a different way and avoid this sort of > limitation ? By getting a set of 100 then an other 100 etc ? Or is that > impossible? > Net::LDAP correctly implements the "paged-search" control, so there is no limit on the number of entries you can query from A/D. If your set is particularly large (more than 10,000 for example), then I recommend you use the :return_result => false flag. See the rdocs for Net::LDAP#search for more information.