diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-19 23:20:34 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-02-20 10:23:29 +0100 |
commit | 3e4da946699f77abd40c9eb03c2cf67263149e16 (patch) | |
tree | 20545d13f57324e2b9ccb6c38a33620505cdcebd /source3/auth | |
parent | 51b84a9ed7eaa7e38e2279a825290976bfa40177 (diff) | |
download | samba-3e4da946699f77abd40c9eb03c2cf67263149e16.tar.gz samba-3e4da946699f77abd40c9eb03c2cf67263149e16.tar.bz2 samba-3e4da946699f77abd40c9eb03c2cf67263149e16.zip |
s3: NO_SUCH_USER is a lot more likely than NO_MEMORY
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_util.c | 2 |
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, |