diff options
author | Günther Deschner <gd@samba.org> | 2015-12-03 15:24:36 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-09-28 00:04:29 +0200 |
commit | c04f9679a0307fc7001013593ebc575a7c4d2971 (patch) | |
tree | 0c71bb8cf51fd25a6f28c6be00b65a8ce7b572e6 /source3/libnet | |
parent | 610cd200d95ab3b480e79aaf8dff2d1c954a1604 (diff) | |
download | samba-c04f9679a0307fc7001013593ebc575a7c4d2971.tar.gz |
werror: replace WERR_DCNOTFOUND with WERR_NERR_DCNOTFOUND in source3/libnet/libnet_join.c
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libnet')
-rw-r--r-- | source3/libnet/libnet_join.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index 758731e46dd..f4fbe50debb 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -2471,7 +2471,7 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx, "failed to find DC for domain %s - %s", r->in.domain_name, get_friendly_nt_error_msg(status)); - return WERR_DCNOTFOUND; + return WERR_NERR_DCNOTFOUND; } dc = strip_hostname(info->dc_unc); @@ -2482,7 +2482,7 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx, info->dc_address[1] != '\\') { DBG_ERR("ill-formed DC address '%s'\n", info->dc_address); - return WERR_DCNOTFOUND; + return WERR_NERR_DCNOTFOUND; } numeric_dcip = info->dc_address + 2; @@ -2500,14 +2500,14 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx, DBG_ERR( "cannot parse IP address '%s' of DC '%s'\n", numeric_dcip, r->in.dc_name); - return WERR_DCNOTFOUND; + return WERR_NERR_DCNOTFOUND; } } else { if (!interpret_string_addr(&ss, r->in.dc_name, 0)) { DBG_WARNING( "cannot resolve IP address of DC '%s'\n", r->in.dc_name); - return WERR_DCNOTFOUND; + return WERR_NERR_DCNOTFOUND; } } @@ -2735,7 +2735,7 @@ static WERROR libnet_DomainUnjoin(TALLOC_CTX *mem_ctx, "failed to find DC for domain %s - %s", r->in.domain_name, get_friendly_nt_error_msg(status)); - return WERR_DCNOTFOUND; + return WERR_NERR_DCNOTFOUND; } dc = strip_hostname(info->dc_unc); |