From: Volker Lendecke Date: Sat, 19 Feb 2011 22:20:34 +0000 (+0100) Subject: s3: NO_SUCH_USER is a lot more likely than NO_MEMORY X-Git-Tag: tevent-0.9.11~479 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e4da946699f77abd40c9eb03c2cf67263149e16;p=thirdparty%2Fsamba.git s3: NO_SUCH_USER is a lot more likely than NO_MEMORY --- diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index a30a36f9aa7..31437109860 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,