updated winbindd to used paged ldap searches for all ldap queries
authorAndrew Tridgell <tridge@samba.org>
Tue, 19 Mar 2002 22:15:32 +0000 (22:15 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 19 Mar 2002 22:15:32 +0000 (22:15 +0000)
source/nsswitch/winbindd_ads.c

index 2b5234fc9602c766e1bd520e66c25a19328aa077..afd6a528d3f84e1b0c2e275f9a2b6585b8c79808 100644 (file)
@@ -48,7 +48,7 @@ ADS_STATUS ads_do_search_retry(ADS_STRUCT *ads, const char *bind_path, int scope
        bp = strdup(bind_path);
 
        while (count--) {
-               status = ads_do_search(ads, bp, scope, exp, attrs, res);
+               status = ads_do_search_all(ads, bp, scope, exp, attrs, res);
                if (ADS_ERR_OK(status)) {
                        DEBUG(5,("Search for %s gave %d replies\n",
                                 exp, ads_count_replies(ads, *res)));