diff options
author | Günther Deschner <gd@samba.org> | 2011-03-18 15:18:29 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-19 00:11:18 +0100 |
commit | c53e7f8d58c9a38aad3890df7f54da8996a95ce4 (patch) | |
tree | 73bc5f25dd318a49699fa550f2a71901f3fd6190 | |
parent | 89b6af0982fc935c6b9b0f5aa2beea696b332709 (diff) | |
download | samba-c53e7f8d58c9a38aad3890df7f54da8996a95ce4.tar.gz samba-c53e7f8d58c9a38aad3890df7f54da8996a95ce4.tar.bz2 samba-c53e7f8d58c9a38aad3890df7f54da8996a95ce4.zip |
s3-build: use HAVE_ADS define in some more places.
Guenther
-rw-r--r-- | source3/lib/netapi/joindomain.c | 2 | ||||
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 2 |
2 files changed, 2 insertions, 2 deletions
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 */ |