mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
w32err: use WERR_DC_NOT_FOUND name instead of WERR_DOMAIN_CONTROLLER_NOT_FOUND
Signed-off-by: Günther Deschner <gd@samba.org>
This commit is contained in:
parent
8bebce45d3
commit
35f4b88c7c
@ -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_DOMAIN_CONTROLLER_NOT_FOUND;
|
||||
return WERR_DC_NOT_FOUND;
|
||||
}
|
||||
|
||||
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_DOMAIN_CONTROLLER_NOT_FOUND;
|
||||
return WERR_DC_NOT_FOUND;
|
||||
}
|
||||
|
||||
dc = strip_hostname(info->dc_unc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user