s3: Fix bug 7832
authorVolker Lendecke <vl@samba.org>
Tue, 30 Nov 2010 11:31:39 +0000 (12:31 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 30 Nov 2010 13:39:34 +0000 (14:39 +0100)
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Nov 30 14:39:34 CET 2010 on sn-devel-104

source3/winbindd/idmap_ad.c

index 156759806068de5e45930f2677b9eb47d5aa60ce..bc1a1e5d3503a76927baa171e606eb43720bcc75 100644 (file)
@@ -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 */