source: trunk/src/secur32/lsa.c@ 21364

Last change on this file since 21364 was 21364, checked in by vladest, 16 years ago
  • Added SSP DLLs loader. Still under development. Do not use in working configurations
File size: 3.6 KB
Line 
1/* Copyright (C) 2004 Juan Lang
2 * Copyright (C) 2007 Kai Blin
3 *
4 * Local Security Authority functions, as far as secur32 has them.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21#include <stdarg.h>
22
23#include "ntstatus.h"
24#define WIN32_NO_STATUS
25#include "windef.h"
26#include "winbase.h"
27#include "winnt.h"
28#include "ntdef.h"
29#include "ntsecapi.h"
30
31#include "wine/debug.h"
32
33WINE_DEFAULT_DEBUG_CHANNEL(lsa);
34
35NTSTATUS WINAPI LsaCallAuthenticationPackage(HANDLE LsaHandle,
36 ULONG AuthenticationPackage, PVOID ProtocolSubmitBuffer,
37 ULONG SubmitBufferLength, PVOID* ProtocolReturnBuffer,
38 PULONG ReturnBufferLength, PNTSTATUS ProtocolStatus)
39{
40 FIXME("%p %d %p %d %p %p %p stub\n", LsaHandle, AuthenticationPackage,
41 ProtocolSubmitBuffer, SubmitBufferLength, ProtocolReturnBuffer,
42 ReturnBufferLength, ProtocolStatus);
43 return STATUS_SUCCESS;
44}
45
46NTSTATUS WINAPI LsaConnectUntrusted(PHANDLE LsaHandle)
47{
48 FIXME("%p stub\n", LsaHandle);
49 return STATUS_SUCCESS;
50}
51
52NTSTATUS WINAPI LsaDeregisterLogonProcess(HANDLE LsaHandle)
53{
54 FIXME("%p stub\n", LsaHandle);
55 return STATUS_SUCCESS;
56}
57
58NTSTATUS WINAPI LsaEnumerateLogonSessions(PULONG LogonSessionCount,
59 PLUID* LogonSessionList)
60{
61 FIXME("%p %p stub\n", LogonSessionCount, LogonSessionList);
62 *LogonSessionCount = 0;
63 *LogonSessionList = NULL;
64
65 return STATUS_SUCCESS;
66}
67
68NTSTATUS WINAPI LsaFreeReturnBuffer(PVOID Buffer)
69{
70 FIXME("%p stub\n", Buffer);
71 return STATUS_SUCCESS;
72}
73
74NTSTATUS WINAPI LsaGetLogonSessionData(PLUID LogonId,
75 PSECURITY_LOGON_SESSION_DATA* ppLogonSessionData)
76{
77 FIXME("%p %p stub\n", LogonId, ppLogonSessionData);
78 return STATUS_SUCCESS;
79}
80
81NTSTATUS WINAPI LsaLogonUser(HANDLE LsaHandle, PLSA_STRING OriginName,
82 SECURITY_LOGON_TYPE LogonType, ULONG AuthenticationPackage,
83 PVOID AuthenticationInformation, ULONG AuthenticationInformationLength,
84 PTOKEN_GROUPS LocalGroups, PTOKEN_SOURCE SourceContext,
85 PVOID* ProfileBuffer, PULONG ProfileBufferLength, PLUID LogonId,
86 PHANDLE Token, PQUOTA_LIMITS Quotas, PNTSTATUS SubStatus)
87{
88 FIXME("%p %p %d %d %p %d %p %p %p %p %p %p %p %p stub\n", LsaHandle,
89 OriginName, LogonType, AuthenticationPackage,
90 AuthenticationInformation, AuthenticationInformationLength,
91 LocalGroups, SourceContext, ProfileBuffer, ProfileBufferLength,
92 LogonId, Token, Quotas, SubStatus);
93 return STATUS_SUCCESS;
94}
95
96NTSTATUS WINAPI LsaLookupAuthenticationPackage(HANDLE LsaHandle,
97 PLSA_STRING PackageName, PULONG AuthenticationPackage)
98{
99 FIXME("%p %p %p stub\n", LsaHandle, PackageName, AuthenticationPackage);
100 AuthenticationPackage = NULL;
101 return STATUS_SUCCESS;
102}
103
104NTSTATUS WINAPI LsaRegisterLogonProcess(PLSA_STRING LogonProcessName,
105 PHANDLE LsaHandle, PLSA_OPERATIONAL_MODE SecurityMode)
106{
107 FIXME("%p %p %p stub\n", LogonProcessName, LsaHandle, SecurityMode);
108 return STATUS_SUCCESS;
109}
Note: See TracBrowser for help on using the repository browser.