ReactOS 0.4.15-dev-8632-gbc8c7d1
|
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <ndk/cmfuncs.h>
#include <ndk/exfuncs.h>
#include <ndk/kefuncs.h>
#include <ndk/mmfuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/psfuncs.h>
#include <ndk/rtlfuncs.h>
#include <ndk/sefuncs.h>
#include <ndk/ketypes.h>
#include <ndk/setypes.h>
#include <ntsam.h>
#include <ntlsa.h>
#include <sddl.h>
#include <srmp.h>
#include <lsass.h>
#include <lsa_s.h>
#include <wine/debug.h>
Go to the source code of this file.
Classes | |
struct | _LSA_DB_OBJECT |
struct | _LSAP_POLICY_AUDIT_EVENTS_DATA |
struct | _LSAP_LOGON_CONTEXT |
struct | _SAMPR_ULONG_ARRAY |
Typedefs | |
typedef enum _LSA_DB_OBJECT_TYPE | LSA_DB_OBJECT_TYPE |
typedef enum _LSA_DB_OBJECT_TYPE * | PLSA_DB_OBJECT_TYPE |
typedef struct _LSA_DB_OBJECT | LSA_DB_OBJECT |
typedef struct _LSA_DB_OBJECT * | PLSA_DB_OBJECT |
typedef struct _LSAP_POLICY_AUDIT_EVENTS_DATA | LSAP_POLICY_AUDIT_EVENTS_DATA |
typedef struct _LSAP_POLICY_AUDIT_EVENTS_DATA * | PLSAP_POLICY_AUDIT_EVENTS_DATA |
typedef struct _LSAP_LOGON_CONTEXT | LSAP_LOGON_CONTEXT |
typedef struct _LSAP_LOGON_CONTEXT * | PLSAP_LOGON_CONTEXT |
typedef struct _SAMPR_ULONG_ARRAY | SAMPR_ULONG_ARRAY |
typedef struct _SAMPR_ULONG_ARRAY * | PSAMPR_ULONG_ARRAY |
Enumerations | |
enum | _LSA_DB_OBJECT_TYPE { LsaDbIgnoreObject , LsaDbPolicyObject , LsaDbAccountObject , LsaDbDomainObject , LsaDbSecretObject } |
#define POLICY_AUDIT_EVENT_TYPE_COUNT (AuditCategoryAccountLogon - AuditCategorySystem + 1) |
typedef struct _LSA_DB_OBJECT LSA_DB_OBJECT |
typedef struct _LSA_DB_OBJECT * PLSA_DB_OBJECT |
typedef enum _LSA_DB_OBJECT_TYPE * PLSA_DB_OBJECT_TYPE |
typedef struct _LSAP_LOGON_CONTEXT * PLSAP_LOGON_CONTEXT |
typedef struct _SAMPR_ULONG_ARRAY * PSAMPR_ULONG_ARRAY |
Definition at line 22 of file dssetup.c.
Referenced by LsarStartRpcServer().
NTSTATUS NTAPI LsapAddCredential | ( | _In_ PLUID | LogonId, |
_In_ ULONG | AuthenticationPackage, | ||
_In_ PLSA_STRING | PrimaryKeyValue, | ||
_In_ PLSA_STRING | Credential | ||
) |
Definition at line 152 of file utils.c.
Referenced by LsapAppendSidToGroups().
NTSTATUS LsapCallAuthenticationPackage | ( | PLSA_API_MSG | RequestMsg, |
PLSAP_LOGON_CONTEXT | LogonContext | ||
) |
Definition at line 564 of file authpackage.c.
Referenced by AuthPortThreadRoutine().
NTSTATUS LsapCloseDbObject | ( | IN PLSA_DB_OBJECT | DbObject | ) |
NTSTATUS LsapCreateAccountSd | ( | PSECURITY_DESCRIPTOR * | AccountSd, |
PULONG | AccountSdSize | ||
) |
Definition at line 268 of file security.c.
Referenced by LsarpCreateAccount().
NTSTATUS LsapCreateDbObject | ( | IN PLSA_DB_OBJECT | ParentObject, |
IN LPWSTR | ContainerName, | ||
IN LPWSTR | ObjectName, | ||
IN LSA_DB_OBJECT_TYPE | HandleType, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN BOOLEAN | Trusted, | ||
OUT PLSA_DB_OBJECT * | DbObject | ||
) |
Definition at line 592 of file database.c.
Referenced by LsarCreateSecret(), LsarpCreateAccount(), and LsarStorePrivateData().
Definition at line 159 of file session.c.
Referenced by LsapInitAuthPackages().
NTSTATUS LsapCreatePolicySd | ( | PSECURITY_DESCRIPTOR * | PolicySd, |
PULONG | PolicySdSize | ||
) |
Definition at line 14 of file security.c.
Referenced by LsapCreateDatabaseObjects().
NTSTATUS LsapCreateSecretSd | ( | PSECURITY_DESCRIPTOR * | SecretSd, |
PULONG | SecretSdSize | ||
) |
Definition at line 436 of file security.c.
Referenced by LsarCreateSecret().
NTSTATUS LsapCreateTokenSd | ( | _In_ const TOKEN_USER * | User, |
_Outptr_ PSECURITY_DESCRIPTOR * | TokenSd, | ||
_Out_ PULONG | TokenSdSize | ||
) |
Creates a security descriptor for the token object.
[in] | User | A primary user to be given to the function. This user represents the owner that is in charge of this object. |
[out] | TokenSd | A pointer to an allocated security descriptor for the token object. |
[out] | TokenSdSize | A pointer to a returned size of the descriptor. |
Definition at line 637 of file security.c.
Referenced by LsapLogonUser().
NTSTATUS NTAPI LsapDeleteCredential | ( | _In_ PLUID | LogonId, |
_In_ ULONG | AuthenticationPackage, | ||
_In_ PLSA_STRING | PrimaryKeyValue | ||
) |
Definition at line 288 of file session.c.
Referenced by LsapInitAuthPackages().
NTSTATUS LsapDeleteDbObject | ( | IN PLSA_DB_OBJECT | DbObject | ) |
Definition at line 901 of file database.c.
Referenced by LsarDeleteObject(), and LsarStorePrivateData().
Definition at line 201 of file session.c.
Referenced by LsapInitAuthPackages(), and LsapLogonUser().
NTSTATUS LsapDeleteObjectAttribute | ( | PLSA_DB_OBJECT | DbObject, |
LPWSTR | AttributeName | ||
) |
Definition at line 1082 of file database.c.
Referenced by LsarRemovePrivilegesFromAccount().
NTSTATUS LsapEnumLogonSessions | ( | IN OUT PLSA_API_MSG | RequestMsg | ) |
Definition at line 299 of file session.c.
Referenced by AuthPortThreadRoutine().
NTSTATUS NTAPI LsapGetCredentials | ( | _In_ PLUID | LogonId, |
_In_ ULONG | AuthenticationPackage, | ||
_Inout_ PULONG | QueryContext, | ||
_In_ BOOLEAN | RetrieveAllCredentials, | ||
_Inout_ PLSA_STRING | PrimaryKeyValue, | ||
_Out_ PULONG | PrimaryKeyLength, | ||
_Out_ PLSA_STRING | Credentials | ||
) |
Definition at line 272 of file session.c.
Referenced by LsapInitAuthPackages().
NTSTATUS LsapGetLogonSessionData | ( | IN OUT PLSA_API_MSG | RequestMsg | ) |
Definition at line 395 of file session.c.
Referenced by AuthPortThreadRoutine().
NTSTATUS LsapGetObjectAttribute | ( | PLSA_DB_OBJECT | DbObject, |
LPWSTR | AttributeName, | ||
LPVOID | AttributeData, | ||
PULONG | AttributeSize | ||
) |
Definition at line 1012 of file database.c.
Referenced by LsapGetDomainInfo(), LsarAddAccountRights(), LsarAddPrivilegesToAccount(), LsarEnumeratePrivilegesAccount(), LsarGetQuotasForAccount(), LsarGetSystemAccessAccount(), LsarQueryAccountDomain(), LsarQueryAuditEvents(), LsarQueryAuditFull(), LsarQueryAuditLog(), LsarQueryDefaultQuota(), LsarQueryDnsDomain(), LsarQueryModification(), LsarQueryPrimaryDomain(), LsarQuerySecret(), LsarQuerySecurityObject(), LsarQueryServerRole(), LsarRemoveAccountRights(), LsarRemovePrivilegesFromAccount(), LsarRetrievePrivateData(), LsarSetAuditFull(), LsarSetQuotasForAccount(), and LsarSetSecurityObject().
Definition at line 1038 of file lookup.c.
Referenced by LsapLookupAccountDomainSids(), LsapLookupBuiltinDomainSids(), LsarLookupNames(), and LsarLookupNames2().
INT LsapGetResourceStringLengthEx | ( | _In_ HINSTANCE | hInstance, |
_In_ UINT | uId, | ||
_In_ USHORT | usLanguage | ||
) |
Definition at line 64 of file utils.c.
Referenced by LsarpLookupPrivilegeDisplayName().
Definition at line 474 of file authpackage.c.
Referenced by LsapInitLsa().
Definition at line 539 of file database.c.
Referenced by LsapInitLsa().
Definition at line 36 of file session.c.
Referenced by LsapInitLsa().
Definition at line 28 of file notify.c.
Referenced by LsapInitLsa().
Definition at line 182 of file lookup.c.
Referenced by LsapInitLsa().
Definition at line 17 of file utils.c.
Referenced by LsapInitSids().
INT LsapLoadStringEx | ( | _In_ HINSTANCE | hInstance, |
_In_ UINT | uId, | ||
_In_ USHORT | usLanguage, | ||
_Out_ LPWSTR | lpBuffer, | ||
_Out_ INT | nBufferMax | ||
) |
Definition at line 99 of file utils.c.
Referenced by LsarpLookupPrivilegeDisplayName().
NTSTATUS LsapLogonUser | ( | PLSA_API_MSG | RequestMsg, |
PLSAP_LOGON_CONTEXT | LogonContext | ||
) |
Definition at line 1394 of file authpackage.c.
Referenced by AuthPortThreadRoutine().
NTSTATUS LsapLookupAccountRightName | ( | ULONG | RightValue, |
PRPC_UNICODE_STRING * | Name | ||
) |
Definition at line 343 of file privileges.c.
Referenced by LsarEnumerateAccountRights().
ACCESS_MASK LsapLookupAccountRightValue | ( | IN PRPC_UNICODE_STRING | Name | ) |
Definition at line 380 of file privileges.c.
Referenced by LsarAddAccountRights(), LsarEnumerateAccountsWithUserRight(), and LsarRemoveAccountRights().
NTSTATUS LsapLookupAuthenticationPackage | ( | PLSA_API_MSG | RequestMsg, |
PLSAP_LOGON_CONTEXT | LogonContext | ||
) |
Definition at line 510 of file authpackage.c.
Referenced by AuthPortThreadRoutine().
NTSTATUS LsapLookupNames | ( | DWORD | Count, |
PRPC_UNICODE_STRING | Names, | ||
PLSAPR_REFERENCED_DOMAIN_LIST * | ReferencedDomains, | ||
PLSAPR_TRANSLATED_SIDS_EX2 | TranslatedSids, | ||
LSAP_LOOKUP_LEVEL | LookupLevel, | ||
DWORD * | MappedCount, | ||
DWORD | LookupOptions, | ||
DWORD | ClientRevision | ||
) |
Definition at line 1813 of file lookup.c.
Referenced by LsarLookupNames(), LsarLookupNames2(), LsarLookupNames3(), and LsarLookupNames4().
NTSTATUS LsapLookupSids | ( | PLSAPR_SID_ENUM_BUFFER | SidEnumBuffer, |
PLSAPR_REFERENCED_DOMAIN_LIST * | ReferencedDomains, | ||
PLSAPR_TRANSLATED_NAMES_EX | TranslatedNames, | ||
LSAP_LOOKUP_LEVEL | LookupLevel, | ||
DWORD * | MappedCount, | ||
DWORD | LookupOptions, | ||
DWORD | ClientRevision | ||
) |
Definition at line 2412 of file lookup.c.
Referenced by LsarLookupSids(), LsarLookupSids2(), and LsarLookupSids3().
VOID LsapNotifyPolicyChange | ( | POLICY_NOTIFICATION_INFORMATION_CLASS | InformationClass | ) |
Definition at line 188 of file notify.c.
Referenced by LsarSetInformationPolicy().
NTSTATUS LsapOpenDbObject | ( | IN PLSA_DB_OBJECT | ParentObject, |
IN LPWSTR | ContainerName, | ||
IN LPWSTR | ObjectName, | ||
IN LSA_DB_OBJECT_TYPE | ObjectType, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN BOOLEAN | Trusted, | ||
OUT PLSA_DB_OBJECT * | DbObject | ||
) |
Definition at line 712 of file database.c.
Referenced by LsaIOpenPolicyTrusted(), LsapCreateDatabaseObjects(), LsapGetDomainInfo(), LsarOpenPolicy(), LsarOpenSecret(), LsarpOpenAccount(), LsarRetrievePrivateData(), and LsarStorePrivateData().
Definition at line 23 of file registry.c.
Referenced by LsarEnumerateAccounts(), and LsarEnumerateAccountsWithUserRight().