kerberos: Add SpUserModeInitialize implementation.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
301419ed21
commit
83ea13d6d7
|
@ -1,7 +1,7 @@
|
|||
1 stub SpInitialize
|
||||
2 stub KerbDomainChangeCallback
|
||||
3 stdcall SpLsaModeInitialize(long ptr ptr ptr)
|
||||
4 stub SpUserModeInitialize
|
||||
4 stdcall SpUserModeInitialize(long ptr ptr ptr)
|
||||
32 stub SpInstanceInit
|
||||
|
||||
@ stdcall -private DllMain(long long ptr)
|
||||
|
|
|
@ -728,3 +728,33 @@ NTSTATUS NTAPI SpLsaModeInitialize(ULONG lsa_version, PULONG package_version,
|
|||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static SECPKG_USER_FUNCTION_TABLE kerberos_user_table =
|
||||
{
|
||||
NULL, /* SpInstanceInit */
|
||||
NULL, /* SpInitUserModeContext */
|
||||
NULL, /* SpMakeSignature */
|
||||
NULL, /* SpVerifySignature */
|
||||
NULL, /* SpSealMessage */
|
||||
NULL, /* SpUnsealMessage */
|
||||
NULL, /* SpGetContextToken */
|
||||
NULL, /* SpQueryContextAttributes */
|
||||
NULL, /* SpCompleteAuthToken */
|
||||
NULL, /* SpDeleteContext */
|
||||
NULL, /* SpFormatCredentialsFn */
|
||||
NULL, /* SpMarshallSupplementalCreds */
|
||||
NULL, /* SpExportSecurityContext */
|
||||
NULL /* SpImportSecurityContext */
|
||||
};
|
||||
|
||||
NTSTATUS NTAPI SpUserModeInitialize(ULONG lsa_version, PULONG package_version,
|
||||
PSECPKG_USER_FUNCTION_TABLE *table, PULONG table_count)
|
||||
{
|
||||
TRACE("%#x,%p,%p,%p\n", lsa_version, package_version, table, table_count);
|
||||
|
||||
*package_version = SECPKG_INTERFACE_VERSION;
|
||||
*table = &kerberos_user_table;
|
||||
*table_count = 1;
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue