summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd_ads.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-09 00:46:37 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-09 00:46:37 +0000
commit0ff30848f3ef4f38e9bc80dc96be4f37bb2dcb0e (patch)
tree0a16e050ee86a494b478af0def1cc9ead25f2924 /source/nsswitch/winbindd_ads.c
parentf7ead035ebe55e94cdd5807b173bd4612866b06f (diff)
downloadsamba-0ff30848f3ef4f38e9bc80dc96be4f37bb2dcb0e.tar.gz
samba-0ff30848f3ef4f38e9bc80dc96be4f37bb2dcb0e.tar.xz
samba-0ff30848f3ef4f38e9bc80dc96be4f37bb2dcb0e.zip
fixed type passed to ads_search
Diffstat (limited to 'source/nsswitch/winbindd_ads.c')
-rw-r--r--source/nsswitch/winbindd_ads.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/nsswitch/winbindd_ads.c b/source/nsswitch/winbindd_ads.c
index 09b3fac03c5..8ed6e7e2b00 100644
--- a/source/nsswitch/winbindd_ads.c
+++ b/source/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;