summaryrefslogtreecommitdiff
path: root/source3
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
commitb6c618467d75015c40573330f8dcdfb1ba766ab8 (patch)
tree0278712210ad195cf21f3e27ad48fb593e1c5d2b /source3
parentbc26ea1e5c712aeef3091c0d3442b7dc430da74c (diff)
downloadsamba-b6c618467d75015c40573330f8dcdfb1ba766ab8.tar.gz
samba-b6c618467d75015c40573330f8dcdfb1ba766ab8.tar.bz2
samba-b6c618467d75015c40573330f8dcdfb1ba766ab8.zip
fixed type passed to ads_search
(This used to be commit 0ff30848f3ef4f38e9bc80dc96be4f37bb2dcb0e)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_ads.c3
1 files changed, 1 insertions, 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;