From 0d93f11c894927a9ab69f7a31b9fbedde9d698b6 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 4 Oct 2005 12:02:52 +0000 Subject: [PATCH] r10711: An error of 'user exists' is not an error, just an indication of how the join was processed. Andrew Bartlett --- source/utils/net/net_join.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils/net/net_join.c b/source/utils/net/net_join.c index cb2ed3006bb..8e9eb4d93e6 100644 --- a/source/utils/net/net_join.c +++ b/source/utils/net/net_join.c @@ -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));