Several updates to get server side sorting going:
commit40260fdaf906d7f4d71a461f294e3c99b564d13c
authorJim McDonough <jmcd@samba.org>
Fri, 5 Apr 2002 19:26:52 +0000 (5 19:26 +0000)
committerJim McDonough <jmcd@samba.org>
Fri, 5 Apr 2002 19:26:52 +0000 (5 19:26 +0000)
treed2505bf1afc2281f6105ace00341042ec966c5ec
parent97e7a130e599d1e69bdc55110852e935640adda9
Several updates to get server side sorting going:
- Added sort control to ads_do_paged_search.  It allows a char * to be passed
  as the sort key.  If NULL, no sort is done.
- fixed a bug in the processing of controls (loop wasn't incremented properly)
- Added ads_do_search_all2, which funs a function that is passed in against
  each entry.  No ldapmessage structures are returned.  Allows results to
  be processed as the come in on each page.

I'd like ads_do_search_all2 to replace ads_do_search_all, but there's some
work to be done in winbindd_ads.c first.

Also, perhaps now we can do async ldap searches?  Allow us to process a
page while the server retrieves the next one?
(This used to be commit 95bec4c8bae0e29f816ec0751bf66404e1f2098e)
source3/libads/ldap.c