From b6c618467d75015c40573330f8dcdfb1ba766ab8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 9 Dec 2001 00:46:37 +0000 Subject: fixed type passed to ads_search (This used to be commit 0ff30848f3ef4f38e9bc80dc96be4f37bb2dcb0e) --- source3/nsswitch/winbindd_ads.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index 09b3fac03c..8ed6e7e2b0 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -42,7 +42,7 @@ int ads_do_search_retry(ADS_STRUCT *ads, const char *bind_path, int scope, } while (count--) { - rc = ads_do_search(ads->ld, bind_path, scope, exp, attrs, res); + rc = ads_do_search(ads, bind_path, scope, exp, attrs, res); if (rc == 0) return rc; if (*res) ads_msgfree(ads, *res); @@ -89,7 +89,6 @@ static ADS_STRUCT *ads_cached_connection(struct winbindd_domain *domain) { ADS_STRUCT *ads; int rc; - char *password; if (domain->private) { return (ADS_STRUCT *)domain->private; -- cgit