ReactOS  0.4.15-dev-1054-gd029a62
lsa.c File Reference
#include "precomp.h"
#include "wine/debug.h"
Include dependency graph for lsa.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (msv1_0)
 
NTSTATUS NTAPI SpInitialize (_In_ ULONG_PTR PackageId, _In_ PSECPKG_PARAMETERS Parameters, _In_ PLSA_SECPKG_FUNCTION_TABLE FunctionTable)
 
NTSTATUS NTAPI LsaSpShutDown (VOID)
 
NTSTATUS NTAPI SpAcceptCredentials (_In_ SECURITY_LOGON_TYPE LogonType, _In_ PUNICODE_STRING AccountName, _In_ PSECPKG_PRIMARY_CRED PrimaryCredentials, _In_ PSECPKG_SUPPLEMENTAL_CRED SupplementalCredentials)
 
NTSTATUS NTAPI LsaSpAcquireCredentialsHandle (_In_ PUNICODE_STRING PrincipalName, _In_ ULONG CredentialUseFlags, _In_ PLUID LogonId, _In_ PVOID AuthorizationData, _In_ PVOID GetKeyFunciton, _In_ PVOID GetKeyArgument, _Out_ PLSA_SEC_HANDLE CredentialHandle, _Out_ PTimeStamp ExpirationTime)
 
NTSTATUS NTAPI LsaSpQueryCredentialsAttributes (_In_ LSA_SEC_HANDLE CredentialHandle, _In_ ULONG CredentialAttribute, _Inout_ PVOID Buffer)
 
NTSTATUS NTAPI LsaSpFreeCredentialsHandle (_In_ LSA_SEC_HANDLE CredentialHandle)
 
NTSTATUS NTAPI LsaSpSaveCredentials (_In_ LSA_SEC_HANDLE CredentialHandle, _In_ PSecBuffer Credentials)
 
NTSTATUS NTAPI LsaSpGetCredentials (_In_ LSA_SEC_HANDLE CredentialHandle, _Inout_ PSecBuffer Credentials)
 
NTSTATUS NTAPI LsaSpDeleteCredentials (_In_ LSA_SEC_HANDLE CredentialHandle, _In_ PSecBuffer Key)
 
NTSTATUS NTAPI LsaSpGetInfoW (_Out_ PSecPkgInfoW PackageInfo)
 
NTSTATUS NTAPI LsaSpInitLsaModeContext (_In_ LSA_SEC_HANDLE CredentialHandle, _In_ LSA_SEC_HANDLE ContextHandle, _In_ PUNICODE_STRING TargetName, _In_ ULONG ContextRequirements, _In_ ULONG TargetDataRep, _In_ PSecBufferDesc InputBuffers, _Out_ PLSA_SEC_HANDLE NewContextHandle, _Inout_ PSecBufferDesc OutputBuffers, _Out_ PULONG ContextAttributes, _Out_ PTimeStamp ExpirationTime, _Out_ PBOOLEAN MappedContext, _Out_ PSecBuffer ContextData)
 
NTSTATUS NTAPI LsaSpAcceptLsaModeContext (_In_ LSA_SEC_HANDLE CredentialHandle, _In_ LSA_SEC_HANDLE ContextHandle, _In_ PSecBufferDesc InputBuffer, _In_ ULONG ContextRequirements, _In_ ULONG TargetDataRep, _Out_ PLSA_SEC_HANDLE NewContextHandle, _Inout_ PSecBufferDesc OutputBuffer, _Out_ PULONG ContextAttributes, _Out_ PTimeStamp ExpirationTime, _Out_ PBOOLEAN MappedContext, _Out_ PSecBuffer ContextData)
 
NTSTATUS NTAPI LsaSpDeleteContext (_In_ LSA_SEC_HANDLE ContextHandle)
 
NTSTATUS NTAPI LsaSpApplyControlToken (_In_ LSA_SEC_HANDLE ContextHandle, _In_ PSecBufferDesc ControlToken)
 
NTSTATUS NTAPI LsaSpGetUserInfo (_In_ PLUID LogonId, _In_ ULONG Flags, _Out_ PSecurityUserData *UserData)
 
NTSTATUS NTAPI LsaSpGetExtendedInformation (_In_ SECPKG_EXTENDED_INFORMATION_CLASS Class, _Out_ PSECPKG_EXTENDED_INFORMATION *ppInfo)
 
NTSTATUS NTAPI LsaSpSetExtendedInformation (_In_ SECPKG_EXTENDED_INFORMATION_CLASS Class, _In_ PSECPKG_EXTENDED_INFORMATION Info)
 

Variables

SECPKG_FUNCTION_TABLE NtlmLsaFn [1]
 

Function Documentation

◆ LsaSpAcceptLsaModeContext()

NTSTATUS NTAPI LsaSpAcceptLsaModeContext ( _In_ LSA_SEC_HANDLE  CredentialHandle,
_In_ LSA_SEC_HANDLE  ContextHandle,
_In_ PSecBufferDesc  InputBuffer,
_In_ ULONG  ContextRequirements,
_In_ ULONG  TargetDataRep,
_Out_ PLSA_SEC_HANDLE  NewContextHandle,
_Inout_ PSecBufferDesc  OutputBuffer,
_Out_ PULONG  ContextAttributes,
_Out_ PTimeStamp  ExpirationTime,
_Out_ PBOOLEAN  MappedContext,
_Out_ PSecBuffer  ContextData 
)

Definition at line 157 of file lsa.c.

169 {
170  TRACE("LsaSpAcceptLsaModeContext(0x%p 0x%p 0x%p %i %i 0x%p 0x%p 0x%p "
171  "0x%p 0x%p 0x%p)\n",
172  CredentialHandle, ContextHandle, InputBuffer, ContextRequirements,
173  TargetDataRep, NewContextHandle, OutputBuffer,
174  ContextAttributes, ExpirationTime, MappedContext, ContextData);
175  return STATUS_NOT_IMPLEMENTED;
176 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
CHAR InputBuffer[80]
Definition: conmgr.c:33
_Must_inspect_result_ __drv_aliasesMem _In_ PDEVICE_OBJECT _In_opt_ PVOID _In_ ULONG _Out_opt_ PVOID OutputBuffer
Definition: iofuncs.h:713
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by SpLsaModeInitialize().

◆ LsaSpAcquireCredentialsHandle()

NTSTATUS NTAPI LsaSpAcquireCredentialsHandle ( _In_ PUNICODE_STRING  PrincipalName,
_In_ ULONG  CredentialUseFlags,
_In_ PLUID  LogonId,
_In_ PVOID  AuthorizationData,
_In_ PVOID  GetKeyFunciton,
_In_ PVOID  GetKeyArgument,
_Out_ PLSA_SEC_HANDLE  CredentialHandle,
_Out_ PTimeStamp  ExpirationTime 
)

Definition at line 53 of file lsa.c.

62 {
63  TRACE("LsaSpAcquireCredentialsHandle(%wZ 0x%lx 0x%p 0x%p 0x%p 0x%p 0x%p 0x%p)\n",
64  PrincipalName, CredentialUseFlags, LogonId,
65  AuthorizationData, GetKeyFunciton, GetKeyArgument,
66  CredentialHandle, ExpirationTime);
68 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4
_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

Referenced by SpLsaModeInitialize().

◆ LsaSpApplyControlToken()

NTSTATUS NTAPI LsaSpApplyControlToken ( _In_ LSA_SEC_HANDLE  ContextHandle,
_In_ PSecBufferDesc  ControlToken 
)

Definition at line 189 of file lsa.c.

192 {
193  TRACE("LsaSpApplyControlToken(0x%p 0x%p)\n", ContextHandle, ControlToken);
194  return STATUS_NOT_IMPLEMENTED;
195 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by SpLsaModeInitialize().

◆ LsaSpDeleteContext()

NTSTATUS NTAPI LsaSpDeleteContext ( _In_ LSA_SEC_HANDLE  ContextHandle)

Definition at line 180 of file lsa.c.

182 {
183  TRACE("LsaSpDeleteContext(0x%p)\n", ContextHandle);
184  return STATUS_NOT_IMPLEMENTED;
185 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by SpLsaModeInitialize().

◆ LsaSpDeleteCredentials()

NTSTATUS NTAPI LsaSpDeleteCredentials ( _In_ LSA_SEC_HANDLE  CredentialHandle,
_In_ PSecBuffer  Key 
)

Definition at line 113 of file lsa.c.

116 {
117  TRACE("LsaSpDeleteCredentials(0x%p 0x%p)\n", CredentialHandle, Key);
118  return STATUS_NOT_IMPLEMENTED;
119 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by SpLsaModeInitialize().

◆ LsaSpFreeCredentialsHandle()

NTSTATUS NTAPI LsaSpFreeCredentialsHandle ( _In_ LSA_SEC_HANDLE  CredentialHandle)

Definition at line 84 of file lsa.c.

86 {
87  TRACE("LsaSpFreeCredentialsHandle(0x%p)", CredentialHandle);
89 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by SpLsaModeInitialize().

◆ LsaSpGetCredentials()

NTSTATUS NTAPI LsaSpGetCredentials ( _In_ LSA_SEC_HANDLE  CredentialHandle,
_Inout_ PSecBuffer  Credentials 
)

Definition at line 103 of file lsa.c.

106 {
107  TRACE("LsaSpGetCredentials(0x%p 0x%p)\n", CredentialHandle, Credentials);
108  return STATUS_NOT_IMPLEMENTED;
109 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by SpLsaModeInitialize().

◆ LsaSpGetExtendedInformation()

NTSTATUS NTAPI LsaSpGetExtendedInformation ( _In_ SECPKG_EXTENDED_INFORMATION_CLASS  Class,
_Out_ PSECPKG_EXTENDED_INFORMATION ppInfo 
)

Definition at line 210 of file lsa.c.

213 {
214  TRACE("LsaSpGetExtendedInformation(0x%lx 0x%p)\n",
215  Class, ppInfo);
216  return STATUS_NOT_IMPLEMENTED;
217 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by SpLsaModeInitialize().

◆ LsaSpGetInfoW()

NTSTATUS NTAPI LsaSpGetInfoW ( _Out_ PSecPkgInfoW  PackageInfo)

Definition at line 123 of file lsa.c.

125 {
126  TRACE("LsaGetInfo(0x%p)\n", PackageInfo);
127  return STATUS_NOT_IMPLEMENTED;
128 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by SpLsaModeInitialize().

◆ LsaSpGetUserInfo()

NTSTATUS NTAPI LsaSpGetUserInfo ( _In_ PLUID  LogonId,
_In_ ULONG  Flags,
_Out_ PSecurityUserData UserData 
)

Definition at line 199 of file lsa.c.

203 {
204  TRACE("LsaSpGetUserInfo(0x%p 0x%lx 0x%p)\n", LogonId, Flags, UserData);
205  return STATUS_NOT_IMPLEMENTED;
206 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
#define TRACE(s)
Definition: solgame.cpp:4
_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

Referenced by SpLsaModeInitialize().

◆ LsaSpInitLsaModeContext()

NTSTATUS NTAPI LsaSpInitLsaModeContext ( _In_ LSA_SEC_HANDLE  CredentialHandle,
_In_ LSA_SEC_HANDLE  ContextHandle,
_In_ PUNICODE_STRING  TargetName,
_In_ ULONG  ContextRequirements,
_In_ ULONG  TargetDataRep,
_In_ PSecBufferDesc  InputBuffers,
_Out_ PLSA_SEC_HANDLE  NewContextHandle,
_Inout_ PSecBufferDesc  OutputBuffers,
_Out_ PULONG  ContextAttributes,
_Out_ PTimeStamp  ExpirationTime,
_Out_ PBOOLEAN  MappedContext,
_Out_ PSecBuffer  ContextData 
)

Definition at line 132 of file lsa.c.

145 {
146  TRACE("LsaSpInitLsaModeContext(0x%p 0x%p %wZ 0x%lx %i 0x%p 0x%p 0x%p "
147  "0x%p 0x%p 0x%p 0x%p 0x%p 0x%p 0x%p 0x%p)\n",
148  CredentialHandle, ContextHandle, TargetName,
149  ContextRequirements, TargetDataRep, InputBuffers,
150  NewContextHandle, OutputBuffers, ContextAttributes,
151  ExpirationTime, MappedContext, ContextData);
152  return STATUS_NOT_IMPLEMENTED;
153 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4
WCHAR TargetName[256]
Definition: arping.c:27

Referenced by SpLsaModeInitialize().

◆ LsaSpQueryCredentialsAttributes()

NTSTATUS NTAPI LsaSpQueryCredentialsAttributes ( _In_ LSA_SEC_HANDLE  CredentialHandle,
_In_ ULONG  CredentialAttribute,
_Inout_ PVOID  Buffer 
)

Definition at line 72 of file lsa.c.

76 {
77  TRACE("LsaSpQueryCredentialsAttributes(0x%p 0x%lx 0x%p)\n",
78  CredentialHandle, CredentialAttribute, Buffer);
80 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
Definition: bufpool.h:45
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by SpLsaModeInitialize().

◆ LsaSpSaveCredentials()

NTSTATUS NTAPI LsaSpSaveCredentials ( _In_ LSA_SEC_HANDLE  CredentialHandle,
_In_ PSecBuffer  Credentials 
)

Definition at line 93 of file lsa.c.

96 {
97  TRACE("LsaSpSaveCredentials(0x%p 0x%p)\n", CredentialHandle, Credentials);
99 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by SpLsaModeInitialize().

◆ LsaSpSetExtendedInformation()

NTSTATUS NTAPI LsaSpSetExtendedInformation ( _In_ SECPKG_EXTENDED_INFORMATION_CLASS  Class,
_In_ PSECPKG_EXTENDED_INFORMATION  Info 
)

Definition at line 221 of file lsa.c.

224 {
225  TRACE("LsaSpSetExtendedInformation(0x%lx 0x%p)\n",
226  Class, Info);
227  return STATUS_NOT_IMPLEMENTED;
228 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
struct TraceInfo Info
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by SpLsaModeInitialize().

◆ LsaSpShutDown()

NTSTATUS NTAPI LsaSpShutDown ( VOID  )

Definition at line 31 of file lsa.c.

32 {
33  TRACE("LsaSpShutDown\n");
35 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4

Referenced by SpLsaModeInitialize().

◆ SpAcceptCredentials()

NTSTATUS NTAPI SpAcceptCredentials ( _In_ SECURITY_LOGON_TYPE  LogonType,
_In_ PUNICODE_STRING  AccountName,
_In_ PSECPKG_PRIMARY_CRED  PrimaryCredentials,
_In_ PSECPKG_SUPPLEMENTAL_CRED  SupplementalCredentials 
)

Definition at line 40 of file lsa.c.

45 {
46  TRACE("LsaSpAcceptCredentials(%li %wZ 0x%p 0x%p)\n",
47  LogonType, AccountName, PrimaryCredentials, SupplementalCredentials);
49 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE LogonType

Referenced by SpLsaModeInitialize().

◆ SpInitialize()

NTSTATUS NTAPI SpInitialize ( _In_ ULONG_PTR  PackageId,
_In_ PSECPKG_PARAMETERS  Parameters,
_In_ PLSA_SECPKG_FUNCTION_TABLE  FunctionTable 
)

Definition at line 19 of file lsa.c.

23 {
24  TRACE("LsaSpInitialize (0x%p, 0x%p, 0x%p)\n",
27 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4
_In_ PPCI_DEVICE_PRESENCE_PARAMETERS Parameters
Definition: iotypes.h:887
static WLX_DISPATCH_VERSION_1_4 FunctionTable
Definition: wlx.c:736
static ULONG PackageId
Definition: authpackage.c:163

Referenced by SpLsaModeInitialize().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( msv1_0  )

Variable Documentation

◆ NtlmLsaFn

SECPKG_FUNCTION_TABLE NtlmLsaFn[1]

Definition at line 15 of file lsa.c.

Referenced by SpLsaModeInitialize().