mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 08:25:48 +00:00
[LSASRV]
LsarOpenSecret: Do not check the granted access of the policy handle and return the proper status code. svn path=/trunk/; revision=57451
This commit is contained in:
parent
d31ca2ab18
commit
dbf0c8c57e
1 changed files with 2 additions and 2 deletions
|
@ -1219,7 +1219,7 @@ NTSTATUS WINAPI LsarOpenSecret(
|
||||||
/* Validate the PolicyHandle */
|
/* Validate the PolicyHandle */
|
||||||
Status = LsapValidateDbObject(PolicyHandle,
|
Status = LsapValidateDbObject(PolicyHandle,
|
||||||
LsaDbPolicyObject,
|
LsaDbPolicyObject,
|
||||||
POLICY_CREATE_SECRET,
|
0,
|
||||||
&PolicyObject);
|
&PolicyObject);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
@ -1251,7 +1251,7 @@ done:
|
||||||
*SecretHandle = (LSAPR_HANDLE)SecretObject;
|
*SecretHandle = (LSAPR_HANDLE)SecretObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue