1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

If domain SID can't be fetched, we shouldn't return NT_STATUS_NO_MEMORY. It causes a confusing client error. Changed to NT_STATUS_CANT_ACCESS_DOMAIN_INFO.

This commit is contained in:
Jim McDonough -
parent 096d06a961
commit 07ea83e6f0

View File

@ -382,7 +382,7 @@ static NTSTATUS domain_client_validate(const auth_usersupplied_info *user_info,
if (!secrets_fetch_domain_sid(lp_workgroup(), &domain_sid)) {
DEBUG(0, ("domain_client_validate: unable to fetch domain sid.\n"));
status = NT_STATUS_NO_MEMORY;
status = NT_STATUS_CANT_ACCESS_DOMAIN_INFO;
free_server_info(server_info);
goto done;
}