summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/auth_domain.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index 73e0ae7949..fdff0b52f9 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -107,11 +107,6 @@ machine %s. Error was : %s.\n", dc_name, cli_errstr(*cli)));
fstr_sprintf((*cli)->mach_acct, "%s$", setup_creds_as);
- if (!(*cli)->mach_acct) {
- release_server_mutex();
- return NT_STATUS_NO_MEMORY;
- }
-
/* This must be the remote domain (not ours) for schannel */
fstrcpy( (*cli)->domain, domain );