From 3e4da946699f77abd40c9eb03c2cf67263149e16 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 19 Feb 2011 23:20:34 +0100 Subject: s3: NO_SUCH_USER is a lot more likely than NO_MEMORY --- source3/auth/auth_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit