diff options
author | Kamen Mazdrashki <kamen.mazdrashki@postpath.com> | 2009-09-18 00:46:52 +0300 |
---|---|---|
committer | Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | 2009-09-30 15:48:40 +0300 |
commit | d9994a604bd51949a9869927bdc2cb512fba9171 (patch) | |
tree | 0bfb430240f8c6baea7f1640e5a4e96067e22981 /source3 | |
parent | 0e64fcb18f22f31b9004e43f701ea109cef6075d (diff) | |
download | samba-d9994a604bd51949a9869927bdc2cb512fba9171.tar.gz samba-d9994a604bd51949a9869927bdc2cb512fba9171.tar.bz2 samba-d9994a604bd51949a9869927bdc2cb512fba9171.zip |
w32err: WERR_DC_NOT_FOUND replaced with WERR_DCNOTFOUND
It turns out in win32 ERROR_DC_NOT_FOUND exists and it is
an error for Device Context (DC), not Domain Controller
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libnet/libnet_join.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index cd476868e3..8c3030711b 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -1828,7 +1828,7 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx, "failed to find DC for domain %s", r->in.domain_name, get_friendly_nt_error_msg(status)); - return WERR_DC_NOT_FOUND; + return WERR_DCNOTFOUND; } dc = strip_hostname(info->dc_unc); @@ -2019,7 +2019,7 @@ static WERROR libnet_DomainUnjoin(TALLOC_CTX *mem_ctx, "failed to find DC for domain %s", r->in.domain_name, get_friendly_nt_error_msg(status)); - return WERR_DC_NOT_FOUND; + return WERR_DCNOTFOUND; } dc = strip_hostname(info->dc_unc); |