Author: ekohl
Date: Mon Oct 1 10:24:19 2012
New Revision: 57451
URL:
http://svn.reactos.org/svn/reactos?rev=57451&view=rev
Log:
[LSASRV]
LsarOpenSecret: Do not check the granted access of the policy handle and return the proper
status code.
Modified:
trunk/reactos/dll/win32/lsasrv/lsarpc.c
Modified: trunk/reactos/dll/win32/lsasrv/lsarpc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsarpc.c?…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsarpc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsarpc.c [iso-8859-1] Mon Oct 1 10:24:19 2012
@@ -1219,7 +1219,7 @@
/* Validate the PolicyHandle */
Status = LsapValidateDbObject(PolicyHandle,
LsaDbPolicyObject,
- POLICY_CREATE_SECRET,
+ 0,
&PolicyObject);
if (!NT_SUCCESS(Status))
{
@@ -1251,7 +1251,7 @@
*SecretHandle = (LSAPR_HANDLE)SecretObject;
}
- return STATUS_SUCCESS;
+ return Status;
}