s3-build: use HAVE_ADS define in some more places.
authorGünther Deschner <gd@samba.org>
Fri, 18 Mar 2011 14:18:29 +0000 (15:18 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 18 Mar 2011 23:11:18 +0000 (00:11 +0100)
Guenther

source3/lib/netapi/joindomain.c
source3/winbindd/winbindd_cm.c

index d6fa5d6b7f89dd55f393814d3c0d3f2c5dad07fc..6bae363b1439cbb6a3f020ddf2f94781c652e7e4 100644 (file)
@@ -362,7 +362,7 @@ WERROR NetGetJoinInformation_l(struct libnetapi_ctx *ctx,
 WERROR NetGetJoinableOUs_l(struct libnetapi_ctx *ctx,
                           struct NetGetJoinableOUs *r)
 {
-#ifdef WITH_ADS
+#ifdef HAVE_ADS
        NTSTATUS status;
        ADS_STATUS ads_status;
        ADS_STRUCT *ads = NULL;
index 55e92662b32aab169032aea310a8342ae7b96812..cfd60aa42e13685516ae8a8dfbb5f37c361fdceb 100644 (file)
@@ -1117,7 +1117,7 @@ static bool dcip_to_name(TALLOC_CTX *mem_ctx,
        ip_list.ss = *pss;
        ip_list.port = 0;
 
-#ifdef WITH_ADS
+#ifdef HAVE_ADS
        /* For active directory servers, try to get the ldap server name.
           None of these failures should be considered critical for now */