secur32: Implement LsaLookupAuthenticationPackage stub.

This commit is contained in:
Kai Blin 2007-08-29 22:18:24 +02:00 committed by Alexandre Julliard
parent 78b047e4e4
commit ae06588d9b
4 changed files with 64 additions and 24 deletions

View File

@ -11,6 +11,7 @@ C_SRCS = \
base64_codec.c \
dispatcher.c \
hmac_md5.c \
lsa.c \
negotiate.c \
ntlm.c \
schannel.c \

62
dlls/secur32/lsa.c Normal file
View File

@ -0,0 +1,62 @@
/* Copyright (C) 2004 Juan Lang
* Copyright (C) 2007 Kai Blin
*
* Local Security Authority functions, as far as secur32 has them.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "ntsecapi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(lsa);
NTSTATUS WINAPI LsaCallAuthenticationPackage(HANDLE LsaHandle,
ULONG AuthenticationPackage, PVOID ProtocolSubmitBuffer,
ULONG SubmitBufferLength, PVOID* ProtocolReturnBuffer,
PULONG ReturnBufferLength, PNTSTATUS ProtocolStatus)
{
FIXME("%p %d %p %d %p %p %p stub\n", LsaHandle, AuthenticationPackage,
ProtocolSubmitBuffer, SubmitBufferLength, ProtocolReturnBuffer,
ReturnBufferLength, ProtocolStatus);
return STATUS_SUCCESS;
}
NTSTATUS WINAPI LsaConnectUntrusted(PHANDLE LsaHandle)
{
FIXME("%p stub\n", LsaHandle);
return STATUS_SUCCESS;
}
NTSTATUS WINAPI LsaDeregisterLogonProcess(HANDLE LsaHandle)
{
FIXME("%p stub\n", LsaHandle);
return STATUS_SUCCESS;
}
NTSTATUS WINAPI LsaLookupAuthenticationPackage(HANDLE LsaHandle,
PLSA_STRING PackageName, PULONG AuthenticationPackage)
{
FIXME("%p %p %p stub\n", LsaHandle, PackageName, AuthenticationPackage);
AuthenticationPackage = NULL;
return STATUS_SUCCESS;
}

View File

@ -1050,29 +1050,6 @@ BOOLEAN WINAPI GetUserNameExW(
return FALSE;
}
NTSTATUS WINAPI LsaCallAuthenticationPackage(
HANDLE LsaHandle, ULONG AuthenticationPackage, PVOID ProtocolSubmitBuffer,
ULONG SubmitBufferLength, PVOID* ProtocolReturnBuffer, PULONG ReturnBufferLength,
PNTSTATUS ProtocolStatus)
{
FIXME("%p %d %p %d %p %p %p\n", LsaHandle, AuthenticationPackage,
ProtocolSubmitBuffer, SubmitBufferLength, ProtocolReturnBuffer,
ReturnBufferLength, ProtocolStatus);
return 0;
}
NTSTATUS WINAPI LsaConnectUntrusted(PHANDLE LsaHandle)
{
FIXME("%p\n", LsaHandle);
return 0;
}
NTSTATUS WINAPI LsaDeregisterLogonProcess(HANDLE LsaHandle)
{
FIXME("%p\n", LsaHandle);
return 0;
}
BOOLEAN WINAPI TranslateNameA(
LPCSTR lpAccountName, EXTENDED_NAME_FORMAT AccountNameFormat,
EXTENDED_NAME_FORMAT DesiredNameFormat, LPSTR lpTranslatedName,

View File

@ -39,7 +39,7 @@
@ stub LsaFreeReturnBuffer
@ stub LsaGetLogonSessionData
@ stub LsaLogonUser
@ stub LsaLookupAuthenticationPackage
@ stdcall LsaLookupAuthenticationPackage(ptr ptr ptr)
@ stub LsaRegisterLogonProcess
@ stub LsaRegisterPolicyChangeNotification
@ stub LsaUnregisterPolicyChangeNotification