1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

Make the LookupRid access check match LookupName until

we know the correct bits to use here.
Jeremy.
This commit is contained in:
Jeremy Allison 2008-12-10 17:03:53 -08:00
parent c4c6e1e463
commit d7d525bc9d

View File

@ -2079,7 +2079,7 @@ NTSTATUS _samr_LookupRids(pipes_struct *p,
return NT_STATUS_INVALID_HANDLE;
status = access_check_samr_function(acc_granted,
SAMR_DOMAIN_ACCESS_ENUM_ACCOUNTS,
0, /* Don't know the acc_bits yet */
"_samr_LookupRids");
if (!NT_STATUS_IS_OK(status)) {
return status;