git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51b84a9
)
s3: NO_SUCH_USER is a lot more likely than NO_MEMORY
author
Volker Lendecke
<vl@samba.org>
Sat, 19 Feb 2011 22:20:34 +0000
(23:20 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 20 Feb 2011 09:23:29 +0000
(10:23 +0100)
source3/auth/auth_util.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_util.c
b/source3/auth/auth_util.c
index a30a36f9aa7baf0dc19fd3821120ceeb6436e3e4..314371098608823fcc103640345ab109bad3662f 100644
(file)
--- 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,