LSA_SECPKG_FUNCTION_TABLE structure (ntsecpkg.h)
La structure LSA_SECPKG_FUNCTION_TABLE contient des pointeurs vers les fonctions LSA qu’un package de sécurité peut appeler. L’autorité de sécurité locale (LSA) transmet cette structure à un package de sécurité lorsqu’elle appelle la fonction SpInitialize du package.
Syntaxe
typedef struct _LSA_SECPKG_FUNCTION_TABLE {
PLSA_CREATE_LOGON_SESSION CreateLogonSession;
PLSA_DELETE_LOGON_SESSION DeleteLogonSession;
PLSA_ADD_CREDENTIAL AddCredential;
PLSA_GET_CREDENTIALS GetCredentials;
PLSA_DELETE_CREDENTIAL DeleteCredential;
PLSA_ALLOCATE_LSA_HEAP AllocateLsaHeap;
PLSA_FREE_LSA_HEAP FreeLsaHeap;
PLSA_ALLOCATE_CLIENT_BUFFER AllocateClientBuffer;
PLSA_FREE_CLIENT_BUFFER FreeClientBuffer;
PLSA_COPY_TO_CLIENT_BUFFER CopyToClientBuffer;
PLSA_COPY_FROM_CLIENT_BUFFER CopyFromClientBuffer;
PLSA_IMPERSONATE_CLIENT ImpersonateClient;
PLSA_UNLOAD_PACKAGE UnloadPackage;
PLSA_DUPLICATE_HANDLE DuplicateHandle;
PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS SaveSupplementalCredentials;
PLSA_CREATE_THREAD CreateThread;
PLSA_GET_CLIENT_INFO GetClientInfo;
PLSA_REGISTER_NOTIFICATION RegisterNotification;
PLSA_CANCEL_NOTIFICATION CancelNotification;
PLSA_MAP_BUFFER MapBuffer;
PLSA_CREATE_TOKEN CreateToken;
PLSA_AUDIT_LOGON AuditLogon;
PLSA_CALL_PACKAGE CallPackage;
PLSA_FREE_LSA_HEAP FreeReturnBuffer;
PLSA_GET_CALL_INFO GetCallInfo;
PLSA_CALL_PACKAGEEX CallPackageEx;
PLSA_CREATE_SHARED_MEMORY CreateSharedMemory;
PLSA_ALLOCATE_SHARED_MEMORY AllocateSharedMemory;
PLSA_FREE_SHARED_MEMORY FreeSharedMemory;
PLSA_DELETE_SHARED_MEMORY DeleteSharedMemory;
PLSA_OPEN_SAM_USER OpenSamUser;
PLSA_GET_USER_CREDENTIALS GetUserCredentials;
PLSA_GET_USER_AUTH_DATA GetUserAuthData;
PLSA_CLOSE_SAM_USER CloseSamUser;
PLSA_CONVERT_AUTH_DATA_TO_TOKEN ConvertAuthDataToToken;
PLSA_CLIENT_CALLBACK ClientCallback;
PLSA_UPDATE_PRIMARY_CREDENTIALS UpdateCredentials;
PLSA_GET_AUTH_DATA_FOR_USER GetAuthDataForUser;
PLSA_CRACK_SINGLE_NAME CrackSingleName;
PLSA_AUDIT_ACCOUNT_LOGON AuditAccountLogon;
PLSA_CALL_PACKAGE_PASSTHROUGH CallPackagePassthrough;
CredReadFn *CrediRead;
CredReadDomainCredentialsFn *CrediReadDomainCredentials;
CredFreeCredentialsFn *CrediFreeCredentials;
PLSA_PROTECT_MEMORY DummyFunction1;
PLSA_PROTECT_MEMORY DummyFunction2;
PLSA_PROTECT_MEMORY DummyFunction3;
PLSA_PROTECT_MEMORY LsaProtectMemory;
PLSA_PROTECT_MEMORY LsaUnprotectMemory;
PLSA_OPEN_TOKEN_BY_LOGON_ID OpenTokenByLogonId;
PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN ExpandAuthDataForDomain;
PLSA_ALLOCATE_PRIVATE_HEAP AllocatePrivateHeap;
PLSA_FREE_PRIVATE_HEAP FreePrivateHeap;
PLSA_CREATE_TOKEN_EX CreateTokenEx;
CredWriteFn *CrediWrite;
CrediUnmarshalandDecodeStringFn *CrediUnmarshalandDecodeString;
PLSA_PROTECT_MEMORY DummyFunction4;
PLSA_PROTECT_MEMORY DummyFunction5;
PLSA_PROTECT_MEMORY DummyFunction6;
PLSA_GET_EXTENDED_CALL_FLAGS GetExtendedCallFlags;
PLSA_DUPLICATE_HANDLE DuplicateTokenHandle;
PLSA_GET_SERVICE_ACCOUNT_PASSWORD GetServiceAccountPassword;
PLSA_PROTECT_MEMORY DummyFunction7;
PLSA_AUDIT_LOGON_EX AuditLogonEx;
PLSA_CHECK_PROTECTED_USER_BY_TOKEN CheckProtectedUserByToken;
PLSA_QUERY_CLIENT_REQUEST QueryClientRequest;
PLSA_GET_APP_MODE_INFO GetAppModeInfo;
PLSA_SET_APP_MODE_INFO SetAppModeInfo;
PLSA_GET_CLIENT_INFO_EX GetClientInfoEx;
} LSA_SECPKG_FUNCTION_TABLE, *PLSA_SECPKG_FUNCTION_TABLE;
Membres
CreateLogonSession
Pointeur vers la fonction CreateLogonSession .
DeleteLogonSession
Pointeur vers la fonction DeleteLogonSession .
AddCredential
Pointeur vers la fonction AddCredential .
GetCredentials
Pointeur vers la fonction GetCredentials .
DeleteCredential
Pointeur vers la fonction DeleteCredential .
AllocateLsaHeap
Pointeur vers la fonction AllocateLsaHeap .
FreeLsaHeap
Pointeur vers la fonction FreeLsaHeap .
AllocateClientBuffer
Pointeur vers la fonction AllocateClientBuffer .
FreeClientBuffer
Pointeur vers la fonction FreeClientBuffer .
CopyToClientBuffer
Pointeur vers la fonction CopyToClientBuffer .
CopyFromClientBuffer
Pointeur vers la fonction CopyFromClientBuffer .
ImpersonateClient
Pointeur vers la fonction ImpersonateClient .
UnloadPackage
Pointeur vers la fonction UnloadPackage .
DuplicateHandle
Pointeur vers la fonction DuplicateHandle .
SaveSupplementalCredentials
Pointeur vers la fonction SaveSupplementalCredentials .
CreateThread
Pointeur vers la fonction CreateThread .
GetClientInfo
Pointeur vers la fonction GetClientInfo .
RegisterNotification
Pointeur vers la fonction RegisterNotification .
CancelNotification
Pointeur vers la fonction CancelNotification .
MapBuffer
Pointeur vers la fonction MapBuffer .
CreateToken
Pointeur vers la fonction CreateToken .
AuditLogon
Pointeur vers la fonction AuditLogon .
CallPackage
Pointeur vers la fonction CallPackage .
FreeReturnBuffer
Pointeur vers la fonction FreeReturnBuffer .
GetCallInfo
Pointeur vers la fonction GetCallInfo .
CallPackageEx
Pointeur vers la fonction CallPackageEx .
CreateSharedMemory
Pointeur vers la fonction CreateSharedMemory .
AllocateSharedMemory
Pointeur vers la fonction AllocateSharedMemory .
FreeSharedMemory
Pointeur vers la fonction FreeSharedMemory .
DeleteSharedMemory
Pointeur vers la fonction DeleteSharedMemory .
OpenSamUser
Pointeur vers la fonction OpenSamUser .
GetUserCredentials
Pointeur vers la fonction GetUserCredentials .
GetUserAuthData
Pointeur vers la fonction GetUserAuthData .
CloseSamUser
Pointeur vers la fonction CloseSamUser .
ConvertAuthDataToToken
Pointeur vers la fonction ConvertAuthDataToToken .
ClientCallback
Pointeur vers la fonction ClientCallback .
UpdateCredentials
Pointeur vers la fonction UpdateCredentials .
GetAuthDataForUser
Pointeur vers la fonction GetAuthDataForUser .
CrackSingleName
Pointeur vers la fonction CrackSingleName .
AuditAccountLogon
Pointeur vers la fonction AuditAccountLogon .
CallPackagePassthrough
Pointeur vers la fonction CallPackagePassthrough .
CrediRead
Pointeur vers la fonction CrediRead .
CrediReadDomainCredentials
Pointeur vers la fonction CrediReadDomainCredentials .
CrediFreeCredentials
Pointeur vers la fonction CrediFreeCredentials .
DummyFunction1
DummyFunction2
DummyFunction3
LsaProtectMemory
Pointeur vers la fonction LsaProtectMemory .
LsaUnprotectMemory
Pointeur vers la fonction LsaUnprotectMemory .
OpenTokenByLogonId
Pointeur vers la fonction OpenTokenByLogonId .
ExpandAuthDataForDomain
Pointeur vers la fonction ExpandAuthDataForDomain .
AllocatePrivateHeap
Pointeur vers la fonction AllocatePrivateHeap .
FreePrivateHeap
Pointeur vers la fonction FreePrivateHeap .
CreateTokenEx
Pointeur vers la fonction CreateTokenEx .
CrediWrite
Pointeur vers la fonction CrediWrite .
CrediUnmarshalandDecodeString
Pointeur vers la fonction CrediUnmarshalandDecodeString .
Windows Server 2003 et Windows XP : Cette fonction n’est pas implémentée.
DummyFunction4
DummyFunction5
DummyFunction6
Introduit dans Windows 8 et versions ultérieures pour une utilisation interne de Microsoft uniquement.
Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 et Windows XP : Cette fonction n’est pas implémentée.
GetExtendedCallFlags
Pointeur vers la fonction GetExtendedCallFlags .
Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 et Windows XP : Cette fonction n’est pas implémentée.
DuplicateTokenHandle
Pointeur vers la fonction DuplicateTokenHandle .
Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 et Windows XP : Cette fonction n’est pas implémentée.
GetServiceAccountPassword
Pointeur vers la fonction GetServiceAccountPassword .
Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 et Windows XP : Cette fonction n’est pas implémentée.
DummyFunction7
Introduit dans Windows 8 et versions ultérieures pour une utilisation interne de Microsoft uniquement.
Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 et Windows XP : Cette fonction n’est pas implémentée.
AuditLogonEx
Pointeur vers la fonction AuditLogonEx .
CheckProtectedUserByToken
Pointeur vers la fonction CheckProtectedUserByToken .
QueryClientRequest
Pointeur vers la fonction QueryClientRequest .
GetAppModeInfo
Pointeur vers la fonction GetAppModeInfo .
SetAppModeInfo
Pointeur vers la fonction SetAppModeInfo .
GetClientInfoEx
Configuration requise
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows XP [applications de bureau uniquement] |
Serveur minimal pris en charge | Windows Server 2003 [applications de bureau uniquement] |
En-tête | ntsecpkg.h |
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour