29 for (
i = 0;
i <
Ptr->EntriesRead;
i++)
54 if (PolicyInformation !=
NULL)
62 if (PolicyInformation->PolicyAuditEventsInfo.EventAuditingOptions !=
NULL)
63 midl_user_free(PolicyInformation->PolicyAuditEventsInfo.EventAuditingOptions);
67 if (PolicyInformation->PolicyPrimaryDomInfo.Name.Buffer !=
NULL)
68 midl_user_free(PolicyInformation->PolicyPrimaryDomInfo.Name.Buffer);
70 if (PolicyInformation->PolicyPrimaryDomInfo.Sid !=
NULL)
75 if (PolicyInformation->PolicyPdAccountInfo.Name.Buffer !=
NULL)
76 midl_user_free(PolicyInformation->PolicyPdAccountInfo.Name.Buffer);
80 if (PolicyInformation->PolicyAccountDomainInfo.DomainName.Buffer !=
NULL)
81 midl_user_free(PolicyInformation->PolicyAccountDomainInfo.DomainName.Buffer);
83 if (PolicyInformation->PolicyAccountDomainInfo.Sid !=
NULL)
91 if (PolicyInformation->PolicyReplicaSourceInfo.ReplicaSource.Buffer !=
NULL)
92 midl_user_free(PolicyInformation->PolicyReplicaSourceInfo.ReplicaSource.Buffer);
94 if (PolicyInformation->PolicyReplicaSourceInfo.ReplicaAccountName.Buffer !=
NULL)
95 midl_user_free(PolicyInformation->PolicyReplicaSourceInfo.ReplicaAccountName.Buffer);
111 if (PolicyInformation->PolicyDnsDomainInfo.Name.Buffer !=
NULL)
112 midl_user_free(PolicyInformation->PolicyDnsDomainInfo.Name.Buffer);
114 if (PolicyInformation->PolicyDnsDomainInfo.DnsDomainName.Buffer !=
NULL)
115 midl_user_free(PolicyInformation->PolicyDnsDomainInfo.DnsDomainName.Buffer);
117 if (PolicyInformation->PolicyDnsDomainInfo.DnsForestName.Buffer !=
NULL)
118 midl_user_free(PolicyInformation->PolicyDnsDomainInfo.DnsForestName.Buffer);
120 if (PolicyInformation->PolicyDnsDomainInfo.Sid !=
NULL)
125 if (PolicyInformation->PolicyDnsDomainInfoInt.Name.Buffer !=
NULL)
126 midl_user_free(PolicyInformation->PolicyDnsDomainInfoInt.Name.Buffer);
128 if (PolicyInformation->PolicyDnsDomainInfoInt.DnsDomainName.Buffer !=
NULL)
129 midl_user_free(PolicyInformation->PolicyDnsDomainInfoInt.DnsDomainName.Buffer);
131 if (PolicyInformation->PolicyDnsDomainInfoInt.DnsForestName.Buffer !=
NULL)
132 midl_user_free(PolicyInformation->PolicyDnsDomainInfoInt.DnsForestName.Buffer);
134 if (PolicyInformation->PolicyDnsDomainInfoInt.Sid !=
NULL)
139 if (PolicyInformation->PolicyLocalAccountDomainInfo.DomainName.Buffer !=
NULL)
140 midl_user_free(PolicyInformation->PolicyLocalAccountDomainInfo.DomainName.Buffer);
142 if (PolicyInformation->PolicyLocalAccountDomainInfo.Sid !=
NULL)
143 midl_user_free(PolicyInformation->PolicyLocalAccountDomainInfo.Sid);
167 for (
i = 0;
i <
Ptr->Entries;
i++)
169 if (
Ptr->Privileges[
i].Name.Buffer !=
NULL)
201 for (
i = 0;
i <
Ptr->Entries;
i++)
203 if (
Ptr->Domains[
i].Name.Buffer !=
NULL)
225 if (
Ptr->SecurityDescriptor !=
NULL)
244 for (
i = 0;
i <
Ptr->Entries;
i++)
246 if (
Ptr->Names[
i].Name.Buffer !=
NULL)
280 TRACE(
"LsapInitLsa()\n");
292 ERR(
"LsapRmInitializeServer() failed (Status 0x%08lx)\n",
Status);
309 ERR(
"LsapInitAuthPackages() failed (Status 0x%08lx)\n",
Status);
317 ERR(
"RtlAdjustPrivilege(SE_CREATE_TOKEN_PRIVILEGE) failed, ignoring (Status 0x%08lx)\n",
Status);
324 ERR(
"StartAuthenticationPort() failed (Status 0x%08lx)\n",
Status);
332 ERR(
"LsarStartRpcServer() failed (Status 0x%08lx)\n",
Status);
NTSTATUS LsapInitAuthPackages(VOID)
NTSTATUS StartAuthenticationPort(VOID)
PVOID NTAPI RtlAllocateHeap(IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size)
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
#define NT_SUCCESS(StatCode)
BOOLEAN NTAPI RtlGetNtProductType(_Out_ PNT_PRODUCT_TYPE ProductType)
NTSTATUS LsapInitDatabase(VOID)
NTSTATUS LsapInitSids(VOID)
VOID LsapInitNotificationList(VOID)
VOID LsapInitLogonSessions(VOID)
NTSTATUS LsapRmInitializeServer(VOID)
enum _NT_PRODUCT_TYPE NT_PRODUCT_TYPE
_In_ FILTER_INFORMATION_CLASS InformationClass
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
NTSTATUS LsarStartRpcServer(VOID)
NTSTATUS WINAPI LsapInitLsa(VOID)
NT_PRODUCT_TYPE LsapProductType
VOID NTAPI LsaIFree_LSAPR_CR_CIPHER_VALUE(IN PLSAPR_CR_CIPHER_VALUE Ptr)
VOID NTAPI LsaIFree_LSAPR_PRIVILEGE_ENUM_BUFFER(IN PLSAPR_PRIVILEGE_ENUM_BUFFER Ptr)
VOID NTAPI LsaIFree_LSAPR_POLICY_INFORMATION(IN POLICY_INFORMATION_CLASS InformationClass, IN PLSAPR_POLICY_INFORMATION PolicyInformation)
VOID NTAPI LsaIFree_LSAPR_TRANSLATED_SIDS(IN PLSAPR_TRANSLATED_SIDS Ptr)
VOID NTAPI LsaIFree_LSAPR_REFERENCED_DOMAIN_LIST(IN PLSAPR_REFERENCED_DOMAIN_LIST Ptr)
VOID NTAPI LsaIFree_LSAPR_SR_SECURITY_DESCRIPTOR(IN PLSAPR_SR_SECURITY_DESCRIPTOR Ptr)
VOID NTAPI LsaIFree_LSAPR_TRANSLATED_NAMES(IN PLSAPR_TRANSLATED_NAMES Ptr)
VOID NTAPI LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER(IN PLSAPR_ACCOUNT_ENUM_BUFFER Ptr)
VOID NTAPI LsaIFree_LSAPR_PRIVILEGE_SET(IN PLSAPR_PRIVILEGE_SET Ptr)
#define SE_CREATE_TOKEN_PRIVILEGE
NTSYSAPI NTSTATUS NTAPI RtlAdjustPrivilege(_In_ ULONG Privilege, _In_ BOOLEAN NewValue, _In_ BOOLEAN ForThread, _Out_ PBOOLEAN OldValue)
@ PolicyModificationInformation
@ PolicyAuditEventsInformation
@ PolicyDnsDomainInformationInt
@ PolicyDefaultQuotaInformation
@ PolicyReplicaSourceInformation
@ PolicyLsaServerRoleInformation
@ PolicyAuditFullSetInformation
@ PolicyDnsDomainInformation
@ PolicyPrimaryDomainInformation
@ PolicyAuditLogInformation
@ PolicyAuditFullQueryInformation
@ PolicyLocalAccountDomainInformation
@ PolicyPdAccountInformation
@ PolicyAccountDomainInformation
enum _POLICY_INFORMATION_CLASS POLICY_INFORMATION_CLASS
#define midl_user_allocate