summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/auth_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index a30a36f9aa..3143710986 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -757,7 +757,7 @@ static NTSTATUS make_new_server_info_system(TALLOC_CTX *mem_ctx,
pwd = getpwuid_alloc(mem_ctx, sec_initial_uid());
if (pwd == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_SUCH_USER;
}
status = make_serverinfo_from_username(mem_ctx,