mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:26:17 +00:00
[LSASRV]
In LsapCreateDatabaseObjects pass the pointer AuditEventsInfo to LsapSetObjectAttribute instead a pointer to the pointer. Fixes 1 advapi32::lsa winetest when compiled with the new BE. svn path=/trunk/; revision=58461
This commit is contained in:
parent
8cb3ec617f
commit
4c85cfac11
1 changed files with 10 additions and 4 deletions
|
@ -293,8 +293,7 @@ LsapCreateDatabaseObjects(VOID)
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
Status = LsapCreatePolicySd(&PolicySd,
|
Status = LsapCreatePolicySd(&PolicySd, &PolicySdSize);
|
||||||
&PolicySdSize);
|
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
|
@ -356,7 +355,7 @@ LsapCreateDatabaseObjects(VOID)
|
||||||
/* Set the audit events attribute */
|
/* Set the audit events attribute */
|
||||||
LsapSetObjectAttribute(PolicyObject,
|
LsapSetObjectAttribute(PolicyObject,
|
||||||
L"PolAdtEv",
|
L"PolAdtEv",
|
||||||
&AuditEventsInfo,
|
AuditEventsInfo,
|
||||||
AuditEventsSize);
|
AuditEventsSize);
|
||||||
|
|
||||||
/* Set the DNS Domain Name attribute */
|
/* Set the DNS Domain Name attribute */
|
||||||
|
@ -990,7 +989,8 @@ LsapSetObjectAttribute(PLSA_DB_OBJECT DbObject,
|
||||||
NULL);
|
NULL);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
ERR("NtCreateKey failed for '%S' with status 0x%lx\n",
|
||||||
|
AttributeName, Status);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1001,6 +1001,12 @@ LsapSetObjectAttribute(PLSA_DB_OBJECT DbObject,
|
||||||
|
|
||||||
NtClose(AttributeKey);
|
NtClose(AttributeKey);
|
||||||
|
|
||||||
|
if (!NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
|
ERR("RtlpNtSetValueKey failed for '%S' with status 0x%lx\n",
|
||||||
|
AttributeName, Status);
|
||||||
|
}
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue