1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +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:
Andrew Bartlett 2005-10-04 12:02:52 +00:00 committed by Gerald (Jerry) Carter
parent efbcb0f741
commit 0d93f11c89

View File

@ -76,7 +76,7 @@ int net_join(struct net_context *ctx, int argc, const char **argv)
/* do the domain join */
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",
nt_errstr(status),
r->out.error_string));