summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_ad.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c
index 1567598060..bc1a1e5d35 100644
--- a/source3/winbindd/idmap_ad.c
+++ b/source3/winbindd/idmap_ad.c
@@ -859,6 +859,7 @@ static NTSTATUS nss_ad_get_info( struct nss_domain_entry *e,
/* See if we can use the ADS connection struct swe were given */
+#if 0
if (ads) {
DEBUG(10, ("nss_ad_get_info: using given ads connection and "
"LDAP message (%p)\n", msg));
@@ -875,6 +876,7 @@ static NTSTATUS nss_ad_get_info( struct nss_domain_entry *e,
nt_status = NT_STATUS_OK;
goto done;
}
+#endif
/* Have to do our own query */