mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
werror: replace WERR_SETUP_ALREADY_JOINED with WERR_NERR_SETUPALREADYJOINED in source3/libnet/libnet_join.c
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
7263f9ca1c
commit
0d8b3e48ed
@ -2595,7 +2595,7 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx,
|
||||
"failed to join domain '%s' over rpc: %s",
|
||||
r->in.domain_name, get_friendly_nt_error_msg(status));
|
||||
if (NT_STATUS_EQUAL(status, NT_STATUS_USER_EXISTS)) {
|
||||
return WERR_SETUP_ALREADY_JOINED;
|
||||
return WERR_NERR_SETUPALREADYJOINED;
|
||||
}
|
||||
werr = ntstatus_to_werror(status);
|
||||
goto done;
|
||||
|
Loading…
Reference in New Issue
Block a user