mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s3: NO_SUCH_USER is a lot more likely than NO_MEMORY
This commit is contained in:
parent
51b84a9ed7
commit
3e4da94669
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user