ReactOS  0.4.15-dev-5142-g967f5b9
msv1_0.h
Go to the documentation of this file.
1 /*
2  * PROJECT: Authentication Package DLL
3  * LICENSE: GPL - See COPYING in the top level directory
4  * FILE: dll/win32/msv1_0/msv1_0.h
5  * PURPOSE: Common header file
6  * COPYRIGHT: Copyright 2013 Eric Kohl
7  */
8 
9 #define FIXUP_POINTER(Pointer, Offset) ((Pointer != NULL) ? ((PWSTR)((ULONG_PTR)Pointer + Offset)) : NULL)
10 
11 
12 typedef struct _RPC_SID
13 {
18 } RPC_SID, *PRPC_SID;
19 
20 typedef struct _RPC_UNICODE_STRING
21 {
22  unsigned short Length;
23  unsigned short MaximumLength;
24  wchar_t *Buffer;
26 
27 typedef wchar_t *PSAMPR_SERVER_NAME;
28 typedef void *SAMPR_HANDLE;
29 
30 typedef struct _OLD_LARGE_INTEGER
31 {
32  unsigned long LowPart;
33  long HighPart;
35 
36 typedef struct RPC_SHORT_BLOB
37 {
38  unsigned short Length;
39  unsigned short MaximumLength;
40  unsigned short *Buffer;
42 
44 {
45  unsigned long Length;
46  unsigned char *SecurityDescriptor;
48 
50 {
51  char data[16];
53 
54 typedef struct _SAMPR_ULONG_ARRAY
55 {
59 
60 typedef struct _SAMPR_LOGON_HOURS
61 {
62  unsigned short UnitsPerWeek;
63  unsigned char *LogonHours;
65 
66 #define USER_LOGON_BAD_PASSWORD 0x08000000
67 #define USER_LOGON_SUCCESS 0x10000000
68 
70 {
71  unsigned long Flags;
74  unsigned short BadPasswordCount;
75  unsigned short LogonCount;
77 
79 {
100  unsigned long UserId;
101  unsigned long PrimaryGroupId;
102  unsigned long UserAccountControl;
103  unsigned long WhichFields;
105  unsigned short BadPasswordCount;
106  unsigned short LogonCount;
107  unsigned short CountryCode;
108  unsigned short CodePage;
109  unsigned char LmPasswordPresent;
110  unsigned char NtPasswordPresent;
111  unsigned char PasswordExpired;
112  unsigned char PrivateDataSensitive;
114 
116 {
117 #if 0
136 #endif
138 #if 0
140 #endif
142 #if 0
147 #endif
149 
150 
151 NTSTATUS
152 NTAPI
154  OUT SAMPR_HANDLE *ServerHandle,
156  IN BOOLEAN Trusted);
157 
158 VOID
159 NTAPI
161 
162 VOID
163 NTAPI
165 
166 VOID
167 NTAPI
170 
171 NTSTATUS
172 NTAPI
174  IN unsigned char LmPresent,
175  IN PENCRYPTED_LM_OWF_PASSWORD OldLmEncryptedWithNewLm,
176  IN PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithOldLm,
177  IN unsigned char NtPresent,
178  IN PENCRYPTED_NT_OWF_PASSWORD OldNtEncryptedWithNewNt,
179  IN PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithOldNt,
180  IN unsigned char NtCrossEncryptionPresent,
181  IN PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithNewLm,
182  IN unsigned char LmCrossEncryptionPresent,
183  IN PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithNewNt);
184 
185 NTSTATUS
186 NTAPI
187 SamrCloseHandle(IN OUT SAMPR_HANDLE *SamHandle);
188 
189 NTSTATUS
190 NTAPI
193  OUT PRPC_SID *DomainId);
194 
195 NTSTATUS
196 NTAPI
198  IN ULONG Count,
200  OUT PSAMPR_ULONG_ARRAY RelativeIds,
201  OUT PSAMPR_ULONG_ARRAY Use);
202 
203 NTSTATUS
204 NTAPI
205 SamrOpenDomain(IN SAMPR_HANDLE ServerHandle,
207  IN PRPC_SID DomainId,
208  OUT SAMPR_HANDLE *DomainHandle);
209 
210 NTSTATUS
211 NTAPI
212 SamrOpenUser(IN SAMPR_HANDLE DomainHandle,
214  IN ULONG UserId,
215  OUT SAMPR_HANDLE *UserHandle);
216 
217 NTSTATUS
218 NTAPI
220  IN USER_INFORMATION_CLASS UserInformationClass,
222 
223 NTSTATUS
224 NTAPI
226  IN USER_INFORMATION_CLASS UserInformationClass,
228 
230 
232 {
237 
239 {
243 
245 {
249 
251 {
254 
256 {
260 
262 {
269 
271 {
287 
288 VOID
289 NTAPI
291  IN PLSAPR_POLICY_INFORMATION PolicyInformation);
292 
293 NTSTATUS
294 WINAPI
295 LsaIOpenPolicyTrusted(OUT LSAPR_HANDLE *PolicyHandle);
296 
297 NTSTATUS
298 WINAPI
299 LsarClose(IN OUT LSAPR_HANDLE *ObjectHandle);
300 
301 NTSTATUS
302 WINAPI
305  OUT PLUID Value);
306 
307 NTSTATUS
308 WINAPI
311  OUT PLSAPR_POLICY_INFORMATION *PolicyInformation);
312 
313 NTSTATUS
314 WINAPI
316  LPSTR hash);
317 
318 NTSTATUS
319 WINAPI
321  LPBYTE hash);
322 
323 NTSTATUS
324 WINAPI
325 SystemFunction012(const BYTE *in,
326  const BYTE *key,
327  LPBYTE out);
328 
329 NTSTATUS
330 NTAPI
332  _In_ PLSA_CLIENT_REQUEST ClientRequest,
333  _In_ PVOID ProtocolSubmitBuffer,
334  _In_ PVOID ClientBufferBase,
335  _In_ ULONG SubmitBufferLength,
336  _Out_ PVOID *ProtocolReturnBuffer,
337  _Out_ PULONG ReturnBufferLength,
339 
340 NTSTATUS
341 NTAPI
343  _In_ PLSA_CLIENT_REQUEST ClientRequest,
344  _In_ PVOID ProtocolSubmitBuffer,
345  _In_ PVOID ClientBufferBase,
346  _In_ ULONG SubmitBufferLength,
347  _Out_ PVOID *ProtocolReturnBuffer,
348  _Out_ PULONG ReturnBufferLength,
350 
351 NTSTATUS
352 NTAPI
354  _In_ PLSA_CLIENT_REQUEST ClientRequest,
355  _In_ PVOID ProtocolSubmitBuffer,
356  _In_ PVOID ClientBufferBase,
357  _In_ ULONG SubmitBufferLength,
358  _Out_ PVOID *ProtocolReturnBuffer,
359  _Out_ PULONG ReturnBufferLength,
361 
362 VOID
363 NTAPI
365  _In_ PLUID LogonId);
366 
367 NTSTATUS
368 NTAPI
370  _In_ PLSA_CLIENT_REQUEST ClientRequest,
372  _In_ PVOID ProtocolSubmitBuffer,
373  _In_ PVOID ClientBufferBase,
374  _In_ ULONG SubmitBufferSize,
376  _Out_ PULONG ProfileBufferSize,
379  _Out_ PLSA_TOKEN_INFORMATION_TYPE TokenInformationType,
380  _Out_ PVOID *TokenInformation,
381  _Out_ PUNICODE_STRING *AccountName,
382  _Out_ PUNICODE_STRING *AuthenticatingAuthority,
384  _Out_ PSECPKG_PRIMARY_CRED PrimaryCredentials,
385  _Out_ PSECPKG_SUPPLEMENTAL_CRED_ARRAY *SupplementalCredentials);
386 
387 /* EOF */
RPC_SHORT_BLOB LmOwfPassword
Definition: msv1_0.h:96
NTSTATUS WINAPI LsarClose(IN OUT LSAPR_HANDLE *ObjectHandle)
* PNTSTATUS
Definition: strlen.c:14
RPC_UNICODE_STRING UserName
Definition: msv1_0.h:86
RPC_UNICODE_STRING ReplicaAccountName
Definition: msv1_0.h:258
VOID NTAPI SamIFree_SAMPR_ULONG_ARRAY(PSAMPR_ULONG_ARRAY Ptr)
Definition: samsrv.c:524
SAMPR_USER_INTERNAL5_INFORMATION_NEW Internal5New
Definition: sam.idl:745
#define IN
Definition: typedefs.h:39
SAMPR_USER_INTERNAL5_INFORMATION Internal5
Definition: sam.idl:743
SAMPR_USER_A_NAME_INFORMATION AccountName
Definition: sam.idl:727
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
Definition: wdfdevice.h:2654
NTSTATUS NTAPI SamIConnect(IN PSAMPR_SERVER_NAME ServerName, OUT SAMPR_HANDLE *ServerHandle, IN ACCESS_MASK DesiredAccess, IN BOOLEAN Trusted)
Definition: samsrv.c:65
RPC_UNICODE_STRING Name
Definition: msv1_0.h:263
NTSTATUS WINAPI LsaIOpenPolicyTrusted(OUT LSAPR_HANDLE *PolicyHandle)
Definition: policy.c:15
POLICY_LSA_SERVER_ROLE_INFO PolicyServerRoleInfo
Definition: msv1_0.h:277
RPC_UNICODE_STRING DomainName
Definition: msv1_0.h:246
struct _SAMPR_USER_INTERNAL2_INFORMATION SAMPR_USER_INTERNAL2_INFORMATION
RPC_UNICODE_STRING ReplicaSource
Definition: msv1_0.h:257
LSAPR_POLICY_DNS_DOMAIN_INFO PolicyDnsDomainInfo
Definition: msv1_0.h:283
RPC_UNICODE_STRING Parameters
Definition: msv1_0.h:95
wchar_t * PSAMPR_SERVER_NAME
Definition: msv1_0.h:27
NTSTATUS NTAPI LsaApCallPackagePassthrough(_In_ PLSA_CLIENT_REQUEST ClientRequest, _In_ PVOID ProtocolSubmitBuffer, _In_ PVOID ClientBufferBase, _In_ ULONG SubmitBufferLength, _Out_ PVOID *ProtocolReturnBuffer, _Out_ PULONG ReturnBufferLength, _Out_ PNTSTATUS ProtocolStatus)
struct _LSAPR_POLICY_PRIMARY_DOM_INFO LSAPR_POLICY_PRIMARY_DOM_INFO
#define _Out_
Definition: ms_sal.h:345
PWSTR Names[]
struct _LSAPR_POLICY_PRIMARY_DOM_INFO * PLSAPR_POLICY_PRIMARY_DOM_INFO
RPC_UNICODE_STRING ProfilePath
Definition: msv1_0.h:91
OLD_LARGE_INTEGER LastLogoff
Definition: msv1_0.h:81
wchar_t * PSAMPR_SERVER_NAME
Definition: authpackage.c:112
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
Definition: fsrtlfuncs.h:898
unsigned char PrivateDataSensitive
Definition: msv1_0.h:112
unsigned long UserId
Definition: msv1_0.h:100
LSAPR_POLICY_PRIMARY_DOM_INFO PolicyPrimaryDomInfo
Definition: msv1_0.h:274
LONG NTSTATUS
Definition: precomp.h:26
RPC_UNICODE_STRING DnsDomainName
Definition: msv1_0.h:264
PULONG Element
Definition: msv1_0.h:57
SAMPR_USER_PROFILE_INFORMATION Profile
Definition: sam.idl:732
LSAPR_POLICY_PD_ACCOUNT_INFO PolicyPdAccountInfo
Definition: msv1_0.h:275
OLD_LARGE_INTEGER PasswordCanChange
Definition: msv1_0.h:84
unsigned short UnitsPerWeek
Definition: msv1_0.h:62
RPC_UNICODE_STRING ScriptPath
Definition: msv1_0.h:90
RPC_UNICODE_STRING HomeDirectory
Definition: msv1_0.h:88
OLD_LARGE_INTEGER PasswordLastSet
Definition: msv1_0.h:82
_In_ DWORD _Out_ PDWORD _In_opt_ PCSTR MachineName
Definition: setupapi.h:1291
unsigned short CodePage
Definition: msv1_0.h:108
unsigned short BadPasswordCount
Definition: msv1_0.h:74
unsigned short * Buffer
Definition: msv1_0.h:40
NTSTATUS NTAPI SamrChangePasswordUser(IN SAMPR_HANDLE UserHandle, IN unsigned char LmPresent, IN PENCRYPTED_LM_OWF_PASSWORD OldLmEncryptedWithNewLm, IN PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithOldLm, IN unsigned char NtPresent, IN PENCRYPTED_NT_OWF_PASSWORD OldNtEncryptedWithNewNt, IN PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithOldNt, IN unsigned char NtCrossEncryptionPresent, IN PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithNewLm, IN unsigned char LmCrossEncryptionPresent, IN PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithNewNt)
Definition: samrpc.c:7864
RPC_UNICODE_STRING Name
Definition: msv1_0.h:240
char * LPSTR
Definition: xmlstorage.h:182
LSAPR_POLICY_ACCOUNT_DOM_INFO PolicyAccountDomainInfo
Definition: msv1_0.h:276
NTSTATUS NTAPI SamrLookupDomainInSamServer(IN SAMPR_HANDLE ServerHandle, IN PRPC_UNICODE_STRING Name, OUT PRPC_SID *DomainId)
Definition: samrpc.c:504
SAMPR_USER_NAME_INFORMATION Name
Definition: sam.idl:726
struct _SAMPR_ULONG_ARRAY * PSAMPR_ULONG_ARRAY
SAMPR_USER_WORKSTATIONS_INFORMATION WorkStations
Definition: sam.idl:734
RPC_UNICODE_STRING PrivateData
Definition: msv1_0.h:98
RPC_UNICODE_STRING FullName
Definition: msv1_0.h:87
DWORD SubAuthority[]
Definition: msv1_0.h:17
SAMPR_USER_ALL_INFORMATION All
Definition: msv1_0.h:141
LSAPR_POLICY_DNS_DOMAIN_INFO PolicyDnsDomainInfoInt
Definition: msv1_0.h:284
SAMPR_USER_SET_PASSWORD_INFORMATION SetPassword
Definition: sam.idl:735
unsigned long Length
Definition: msv1_0.h:45
unsigned short MaximumLength
Definition: msv1_0.h:39
struct _ENCRYPTED_LM_OWF_PASSWORD ENCRYPTED_LM_OWF_PASSWORD
VOID NTAPI SamIFreeVoid(PVOID Ptr)
Definition: samsrv.c:155
unsigned char * LPBYTE
Definition: typedefs.h:53
struct _SAMPR_LOGON_HOURS * PSAMPR_LOGON_HOURS
VOID NTAPI ProtocolStatus(NDIS_HANDLE BindingContext, NDIS_STATUS GenerelStatus, PVOID StatusBuffer, UINT StatusBufferSize)
Called by NDIS when the underlying driver has changed state.
Definition: lan.c:461
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE _In_ ULONG _In_ ULONG _In_opt_ PTOKEN_GROUPS _In_ PTOKEN_SOURCE _Out_ PVOID _Out_ PULONG _Inout_ PLUID _Out_ PHANDLE _Out_ PQUOTA_LIMITS _Out_ PNTSTATUS SubStatus
SAMPR_SR_SECURITY_DESCRIPTOR SecurityDescriptor
Definition: msv1_0.h:99
struct _SAMPR_SR_SECURITY_DESCRIPTOR SAMPR_SR_SECURITY_DESCRIPTOR
POLICY_AUDIT_LOG_INFO PolicyAuditLogInfo
Definition: msv1_0.h:272
POLICY_AUDIT_FULL_QUERY_INFO PolicyAuditFullQueryInfo
Definition: msv1_0.h:282
struct _SAMPR_USER_INTERNAL2_INFORMATION * PSAMPR_USER_INTERNAL2_INFORMATION
PVOID LSAPR_HANDLE
Definition: msv1_0.h:229
SAMPR_USER_GENERAL_INFORMATION General
Definition: sam.idl:721
unsigned long WhichFields
Definition: msv1_0.h:103
VOID NTAPI LsaIFree_LSAPR_POLICY_INFORMATION(IN POLICY_INFORMATION_CLASS InformationClass, IN PLSAPR_POLICY_INFORMATION PolicyInformation)
Definition: lsasrv.c:51
unsigned char BOOLEAN
OLD_LARGE_INTEGER LastLogoff
Definition: msv1_0.h:73
unsigned char * SecurityDescriptor
Definition: msv1_0.h:46
NTSTATUS NTAPI LsaApCallPackage(_In_ PLSA_CLIENT_REQUEST ClientRequest, _In_ PVOID ProtocolSubmitBuffer, _In_ PVOID ClientBufferBase, _In_ ULONG SubmitBufferLength, _Out_ PVOID *ProtocolReturnBuffer, _Out_ PULONG ReturnBufferLength, _Out_ PNTSTATUS ProtocolStatus)
RPC_UNICODE_STRING DnsForestName
Definition: msv1_0.h:265
enum _LSA_TOKEN_INFORMATION_TYPE * PLSA_TOKEN_INFORMATION_TYPE
struct _LSAPR_POLICY_ACCOUNT_DOM_INFO LSAPR_POLICY_ACCOUNT_DOM_INFO
#define _In_
Definition: ms_sal.h:308
struct _LSAPR_POLICY_AUDIT_EVENTS_INFO LSAPR_POLICY_AUDIT_EVENTS_INFO
void * SAMPR_HANDLE
Definition: msv1_0.h:28
Definition: bufpool.h:45
OLD_LARGE_INTEGER AccountExpires
Definition: msv1_0.h:83
OLD_LARGE_INTEGER LastLogon
Definition: msv1_0.h:80
const char * LPCSTR
Definition: xmlstorage.h:183
union _LSAPR_POLICY_INFORMATION * PLSAPR_POLICY_INFORMATION
struct _LSAPR_POLICY_AUDIT_EVENTS_INFO * PLSAPR_POLICY_AUDIT_EVENTS_INFO
SAMPR_USER_LOGON_INFORMATION Logon
Definition: sam.idl:723
union _LSAPR_POLICY_INFORMATION LSAPR_POLICY_INFORMATION
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:406
SAMPR_USER_ACCOUNT_INFORMATION Account
Definition: sam.idl:725
struct _ENCRYPTED_LM_OWF_PASSWORD * PENCRYPTED_NT_OWF_PASSWORD
SAMPR_USER_LOGON_HOURS_INFORMATION LogonHours
Definition: sam.idl:724
NTSTATUS NTAPI SamrOpenDomain(IN SAMPR_HANDLE ServerHandle, IN ACCESS_MASK DesiredAccess, IN PRPC_SID DomainId, OUT SAMPR_HANDLE *DomainHandle)
Definition: samrpc.c:831
struct _SAMPR_ULONG_ARRAY SAMPR_ULONG_ARRAY
OLD_LARGE_INTEGER PasswordMustChange
Definition: msv1_0.h:85
NTSTATUS WINAPI SystemFunction006(LPCSTR password, LPSTR hash)
Definition: crypt_lmhash.c:53
int Count
Definition: noreturn.cpp:7
SAMPR_USER_INTERNAL1_INFORMATION Internal1
Definition: sam.idl:738
SAMPR_USER_PARAMETERS_INFORMATION Parameters
Definition: sam.idl:740
union _SAMPR_USER_INFO_BUFFER * PSAMPR_USER_INFO_BUFFER
OLD_LARGE_INTEGER LastLogon
Definition: msv1_0.h:72
NTSTATUS WINAPI LsarQueryInformationPolicy(IN LSAPR_HANDLE PolicyHandle, IN POLICY_INFORMATION_CLASS InformationClass, OUT PLSAPR_POLICY_INFORMATION *PolicyInformation)
unsigned short LogonCount
Definition: msv1_0.h:106
SAMPR_USER_SCRIPT_INFORMATION Script
Definition: sam.idl:731
POLICY_DEFAULT_QUOTA_INFO PolicyDefaultQuotaInfo
Definition: msv1_0.h:279
#define WINAPI
Definition: msvc.h:6
enum _POLICY_INFORMATION_CLASS POLICY_INFORMATION_CLASS
LSAPR_POLICY_ACCOUNT_DOM_INFO PolicyLocalAccountDomainInfo
Definition: msv1_0.h:285
struct _OLD_LARGE_INTEGER * POLD_LARGE_INTEGER
NTSTATUS NTAPI LsaApCallPackageUntrusted(_In_ PLSA_CLIENT_REQUEST ClientRequest, _In_ PVOID ProtocolSubmitBuffer, _In_ PVOID ClientBufferBase, _In_ ULONG SubmitBufferLength, _Out_ PVOID *ProtocolReturnBuffer, _Out_ PULONG ReturnBufferLength, _Out_ PNTSTATUS ProtocolStatus)
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
struct _SAMPR_USER_ALL_INFORMATION * PSAMPR_USER_ALL_INFORMATION
SAMPR_LOGON_HOURS LogonHours
Definition: msv1_0.h:104
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
struct RPC_SHORT_BLOB RPC_SHORT_BLOB
unsigned long PrimaryGroupId
Definition: msv1_0.h:101
USER_EXPIRES_INFORMATION Expires
Definition: sam.idl:737
unsigned char UCHAR
Definition: xmlstorage.h:181
SAMPR_USER_PREFERENCES_INFORMATION Preferences
Definition: sam.idl:722
struct _LSAPR_POLICY_DNS_DOMAIN_INFO * PLSAPR_POLICY_DNS_DOMAIN_INFO
T1_FIELD_DICT_PRIVATE password
Definition: t1tokens.h:64
USER_CONTROL_INFORMATION Control
Definition: sam.idl:736
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE _In_ ULONG _In_ ULONG _In_opt_ PTOKEN_GROUPS _In_ PTOKEN_SOURCE _Out_ PVOID * ProfileBuffer
RPC_UNICODE_STRING Name
Definition: msv1_0.h:252
unsigned char LmPasswordPresent
Definition: msv1_0.h:109
unsigned short Length
Definition: msv1_0.h:22
RPC_UNICODE_STRING UserComment
Definition: msv1_0.h:94
struct _ENCRYPTED_LM_OWF_PASSWORD * PENCRYPTED_LM_OWF_PASSWORD
unsigned char BYTE
Definition: xxhash.c:193
struct _SAMPR_USER_ALL_INFORMATION SAMPR_USER_ALL_INFORMATION
POLICY_AUDIT_FULL_SET_INFO PolicyAuditFullSetInfo
Definition: msv1_0.h:281
SAMPR_USER_F_NAME_INFORMATION FullName
Definition: sam.idl:728
POLICY_LSA_REPLICA_SRCE_INFO PolicyReplicaSourceInfo
Definition: msv1_0.h:278
unsigned char PasswordExpired
Definition: msv1_0.h:111
VOID NTAPI SamIFree_SAMPR_USER_INFO_BUFFER(PSAMPR_USER_INFO_BUFFER Ptr, USER_INFORMATION_CLASS InformationClass)
Definition: samsrv.c:540
RPC_UNICODE_STRING AdminComment
Definition: msv1_0.h:92
union _SAMPR_USER_INFO_BUFFER SAMPR_USER_INFO_BUFFER
POLICY_MODIFICATION_INFO PolicyModificationInfo
Definition: msv1_0.h:280
GLuint in
Definition: glext.h:9616
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE LogonType
unsigned long UserAccountControl
Definition: msv1_0.h:102
unsigned long LowPart
Definition: msv1_0.h:32
NTSTATUS NTAPI SamrSetInformationUser(IN SAMPR_HANDLE UserHandle, IN USER_INFORMATION_CLASS UserInformationClass, IN PSAMPR_USER_INFO_BUFFER Buffer)
Definition: samrpc.c:7848
SAMPR_USER_ADMIN_COMMENT_INFORMATION AdminComment
Definition: sam.idl:733
enum _SECURITY_LOGON_TYPE SECURITY_LOGON_TYPE
UCHAR SubAuthorityCount
Definition: msv1_0.h:15
unsigned int * PULONG
Definition: retypes.h:1
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE _In_ ULONG _In_ ULONG _In_opt_ PTOKEN_GROUPS _In_ PTOKEN_SOURCE _Out_ PVOID _Out_ PULONG _Inout_ PLUID LogonId
USER_PRIMARY_GROUP_INFORMATION PrimaryGroup
Definition: sam.idl:729
SID_IDENTIFIER_AUTHORITY IdentifierAuthority
Definition: msv1_0.h:16
NTSTATUS NTAPI SamrOpenUser(IN SAMPR_HANDLE DomainHandle, IN ACCESS_MASK DesiredAccess, IN ULONG UserId, OUT SAMPR_HANDLE *UserHandle)
SAMPR_USER_INTERNAL4_INFORMATION Internal4
Definition: sam.idl:742
struct _RPC_SID * PRPC_SID
RPC_SHORT_BLOB NtOwfPassword
Definition: msv1_0.h:97
struct _LSAPR_POLICY_PD_ACCOUNT_INFO * PLSAPR_POLICY_PD_ACCOUNT_INFO
struct _OLD_LARGE_INTEGER OLD_LARGE_INTEGER
UCHAR Revision
Definition: msv1_0.h:14
NTSTATUS WINAPI SystemFunction007(PUNICODE_STRING string, LPBYTE hash)
struct _ENCRYPTED_LM_OWF_PASSWORD ENCRYPTED_NT_OWF_PASSWORD
LSAPR_POLICY_AUDIT_EVENTS_INFO PolicyAuditEventsInfo
Definition: msv1_0.h:273
#define OUT
Definition: typedefs.h:40
SAMPR_USER_HOME_INFORMATION Home
Definition: sam.idl:730
struct _POLICY_LSA_REPLICA_SRCE_INFO POLICY_LSA_REPLICA_SRCE_INFO
unsigned short Length
Definition: msv1_0.h:38
struct _LSAPR_POLICY_DNS_DOMAIN_INFO LSAPR_POLICY_DNS_DOMAIN_INFO
struct _RPC_UNICODE_STRING * PRPC_UNICODE_STRING
struct _SAMPR_SR_SECURITY_DESCRIPTOR * PSAMPR_SR_SECURITY_DESCRIPTOR
struct _RPC_UNICODE_STRING RPC_UNICODE_STRING
unsigned int ULONG
Definition: retypes.h:1
unsigned short BadPasswordCount
Definition: msv1_0.h:105
SAMPR_USER_INTERNAL2_INFORMATION Internal2
Definition: msv1_0.h:137
NTSTATUS WINAPI LsarLookupPrivilegeValue(IN LSAPR_HANDLE PolicyHandle, IN PRPC_UNICODE_STRING Name, OUT PLUID Value)
struct RPC_SHORT_BLOB * PRPC_SHORT_BLOB
NTSTATUS WINAPI SystemFunction012(const BYTE *in, const BYTE *key, LPBYTE out)
Definition: sysfunc.c:353
NTSTATUS NTAPI SamrLookupNamesInDomain(IN SAMPR_HANDLE DomainHandle, IN ULONG Count, IN RPC_UNICODE_STRING Names[], OUT PSAMPR_ULONG_ARRAY RelativeIds, OUT PSAMPR_ULONG_ARRAY Use)
Definition: samrpc.c:3464
VOID NTAPI LsaApLogonTerminated(_In_ PLUID LogonId)
NTSTATUS NTAPI LsaApLogonUserEx2(_In_ PLSA_CLIENT_REQUEST ClientRequest, _In_ SECURITY_LOGON_TYPE LogonType, _In_ PVOID ProtocolSubmitBuffer, _In_ PVOID ClientBufferBase, _In_ ULONG SubmitBufferSize, _Out_ PVOID *ProfileBuffer, _Out_ PULONG ProfileBufferSize, _Out_ PLUID LogonId, _Out_ PNTSTATUS SubStatus, _Out_ PLSA_TOKEN_INFORMATION_TYPE TokenInformationType, _Out_ PVOID *TokenInformation, _Out_ PUNICODE_STRING *AccountName, _Out_ PUNICODE_STRING *AuthenticatingAuthority, _Out_ PUNICODE_STRING *MachineName, _Out_ PSECPKG_PRIMARY_CRED PrimaryCredentials, _Out_ PSECPKG_SUPPLEMENTAL_CRED_ARRAY *SupplementalCredentials)
NTSTATUS NTAPI SamrQueryInformationUser(IN SAMPR_HANDLE UserHandle, IN USER_INFORMATION_CLASS UserInformationClass, OUT PSAMPR_USER_INFO_BUFFER *Buffer)
Definition: samrpc.c:7234
_In_ FILTER_INFORMATION_CLASS InformationClass
Definition: fltkernel.h:1713
unsigned char * LogonHours
Definition: msv1_0.h:63
Definition: _hash_fun.h:40
struct _LSAPR_POLICY_PD_ACCOUNT_INFO LSAPR_POLICY_PD_ACCOUNT_INFO
RPC_UNICODE_STRING HomeDirectoryDrive
Definition: msv1_0.h:89
SAMPR_USER_INTERNAL4_INFORMATION_NEW Internal4New
Definition: sam.idl:744
ULONG ACCESS_MASK
Definition: nt_native.h:40
struct _LSAPR_POLICY_ACCOUNT_DOM_INFO * PLSAPR_POLICY_ACCOUNT_DOM_INFO
struct _SAMPR_LOGON_HOURS SAMPR_LOGON_HOURS
struct _POLICY_LSA_REPLICA_SRCE_INFO * PPOLICY_LSA_REPLICA_SRCE_INFO
struct _RPC_SID RPC_SID
unsigned short MaximumLength
Definition: msv1_0.h:23
unsigned char NtPasswordPresent
Definition: msv1_0.h:110
RPC_UNICODE_STRING WorkStations
Definition: msv1_0.h:93
NTSTATUS NTAPI SamrCloseHandle(IN OUT SAMPR_HANDLE *SamHandle)
Definition: samrpc.c:161
enum _USER_INFORMATION_CLASS USER_INFORMATION_CLASS
Definition: copy.c:22
wchar_t * Buffer
Definition: msv1_0.h:24
unsigned short CountryCode
Definition: msv1_0.h:107