From: Mark W. <mew...@un...> - 2000-08-01 20:06:46
|
The server likely won't return any more than 1000 entries (though this is a server configuration) unless you're binded to the server as the directory super-user or using a server control like Paged Control, or the more popular Virtual List View. You can also limit the results by setting a more direct base (e.g. ou=people,o=unt.edu instead of just o=unt.edu), scope and/or a filter that's more specific. BTW Graham, most of the other LDAP APIs have a parameter in search to limit the number of results. Mark On Tue, 1 Aug 2000, Graham Barr wrote: > On Tue, Aug 01, 2000 at 05:50:45PM +0200, Stefan Kiesow wrote: > > Hi, > > > > is it possible to perform a ldapserach similar to a select-clause in SQL? > > I want to get back the results ordered by some attributes and I want to > > reduce the number of results to a specific limit. > > > > So is there something similar to > > > > order by NAME > > Well if your server supports v3 controls you could use the Sort control. > Net::LDAP::Control::Sort will be in the next release. > > > and > > > > set rowcount N > > Again v3 controls. You could use the Paged control and just get the first > page. > > Graham. > > |