diff options
author | Günther Deschner <gd@samba.org> | 2008-01-08 14:03:12 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-01-08 14:07:09 +0100 |
commit | 697208406cd5b669d76265f753097faa761df9c8 (patch) | |
tree | 9aaf16117d3304b5470708102741fbbfa0ebe97e /source3 | |
parent | f89fa0a6f85b74469519ba97752f45db8b879689 (diff) | |
download | samba-697208406cd5b669d76265f753097faa761df9c8.tar.gz samba-697208406cd5b669d76265f753097faa761df9c8.tar.bz2 samba-697208406cd5b669d76265f753097faa761df9c8.zip |
Fix define check s/WITH_LDAP/HAVE_LDAP/ in libnet_join.
Guenther
(This used to be commit 045a69c59c3b0732bb12a8b0efc8c9675e811719)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libnet/libnet_join.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index 05ab184cec..454c1f29fb 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -58,7 +58,7 @@ static void libnet_unjoin_set_error_string(TALLOC_CTX *mem_ctx, r->out.error_string = tmp; } -#ifdef WITH_LDAP +#ifdef HAVE_LDAP /**************************************************************** ****************************************************************/ @@ -964,7 +964,7 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx, struct libnet_JoinCtx *r) { NTSTATUS status; -#ifdef WITH_LDAP +#ifdef HAVE_LDAP ADS_STATUS ads_status; if (r->in.account_ou) { @@ -996,7 +996,7 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx, return WERR_SETUP_NOT_JOINED; } -#ifdef WITH_LDAP +#ifdef HAVE_LDAP ads_status = libnet_join_set_machine_spn(mem_ctx, r); if (!ADS_ERR_OK(ads_status)) { libnet_join_set_error_string(mem_ctx, r, @@ -1084,7 +1084,7 @@ static WERROR libnet_DomainUnjoin(TALLOC_CTX *mem_ctx, return ntstatus_to_werror(status); } -#ifdef WITH_LDAP +#ifdef HAVE_LDAP if (r->in.unjoin_flags & WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE) { ADS_STATUS ads_status; libnet_unjoin_connect_ads(mem_ctx, r); |