1
0
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:
Volker Lendecke 2011-02-19 23:20:34 +01:00
parent 51b84a9ed7
commit 3e4da94669

View File

@ -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,