mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r10711: An error of 'user exists' is not an error, just an indication of how
the join was processed. Andrew Bartlett
This commit is contained in:
parent
efbcb0f741
commit
0d93f11c89
@ -76,7 +76,7 @@ int net_join(struct net_context *ctx, int argc, const char **argv)
|
|||||||
/* do the domain join */
|
/* do the domain join */
|
||||||
status = libnet_Join(libnetctx, r, r);
|
status = libnet_Join(libnetctx, r, r);
|
||||||
|
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
if (!NT_STATUS_IS_OK(status) && !NT_STATUS_EQUAL(status, NT_STATUS_USER_EXISTS)) {
|
||||||
DEBUG(0,("libnet_Join returned %s: %s\n",
|
DEBUG(0,("libnet_Join returned %s: %s\n",
|
||||||
nt_errstr(status),
|
nt_errstr(status),
|
||||||
r->out.error_string));
|
r->out.error_string));
|
||||||
|
Loading…
Reference in New Issue
Block a user