From c53e7f8d58c9a38aad3890df7f54da8996a95ce4 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 18 Mar 2011 15:18:29 +0100 Subject: s3-build: use HAVE_ADS define in some more places. Guenther --- source3/lib/netapi/joindomain.c | 2 +- source3/winbindd/winbindd_cm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c index d6fa5d6b7f..6bae363b14 100644 --- a/source3/lib/netapi/joindomain.c +++ b/source3/lib/netapi/joindomain.c @@ -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; diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index 55e92662b3..cfd60aa42e 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -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 */ -- cgit