2008-03-09 14:11:42 +00:00
|
|
|
/*
|
2005-01-26 13:58:37 +00:00
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS kernel
|
2008-04-23 20:38:37 +00:00
|
|
|
* FILE: ntoskrnl/se/sid.c
|
|
|
|
* PURPOSE: Security manager
|
2005-01-26 13:58:37 +00:00
|
|
|
*
|
2008-04-23 20:38:37 +00:00
|
|
|
* PROGRAMMERS: David Welch <welch@cwcom.net>
|
2001-09-03 20:42:44 +00:00
|
|
|
*/
|
|
|
|
|
2008-04-23 20:38:37 +00:00
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
|
2004-08-15 16:39:12 +00:00
|
|
|
#include <ntoskrnl.h>
|
2004-08-03 19:20:39 +00:00
|
|
|
#define NDEBUG
|
2008-04-23 20:38:37 +00:00
|
|
|
#include <debug.h>
|
|
|
|
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
2004-08-03 19:20:39 +00:00
|
|
|
|
2004-08-07 19:13:27 +00:00
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
2008-04-23 20:38:37 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
LsaCallAuthenticationPackage(ULONG Unknown0,
|
|
|
|
ULONG Unknown1,
|
|
|
|
ULONG Unknown2,
|
|
|
|
ULONG Unknown3,
|
|
|
|
ULONG Unknown4,
|
|
|
|
ULONG Unknown5,
|
|
|
|
ULONG Unknown6)
|
2001-09-03 20:42:44 +00:00
|
|
|
{
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
2004-08-07 19:13:27 +00:00
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
2008-04-23 20:38:37 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
LsaDeregisterLogonProcess(ULONG Unknown0,
|
|
|
|
ULONG Unknown1)
|
2001-09-03 20:42:44 +00:00
|
|
|
{
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
2004-08-07 19:13:27 +00:00
|
|
|
/*
|
|
|
|
* @implemented
|
|
|
|
*/
|
2008-04-23 20:38:37 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
LsaFreeReturnBuffer(PVOID Buffer)
|
2001-09-03 20:42:44 +00:00
|
|
|
{
|
2010-01-13 22:35:43 +00:00
|
|
|
SIZE_T Size = 0;
|
2008-04-23 20:38:37 +00:00
|
|
|
return ZwFreeVirtualMemory(NtCurrentProcess(),
|
|
|
|
&Buffer,
|
|
|
|
&Size,
|
|
|
|
MEM_RELEASE);
|
2001-09-03 20:42:44 +00:00
|
|
|
}
|
|
|
|
|
2004-08-07 19:13:27 +00:00
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
2006-10-25 18:23:45 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
LsaLogonUser(IN HANDLE LsaHandle,
|
|
|
|
IN PLSA_STRING OriginName,
|
|
|
|
IN SECURITY_LOGON_TYPE LogonType,
|
|
|
|
IN ULONG AuthenticationPackage,
|
|
|
|
IN PVOID AuthenticationInformation,
|
|
|
|
IN ULONG AuthenticationInformationLength,
|
|
|
|
IN PTOKEN_GROUPS LocalGroups OPTIONAL,
|
|
|
|
IN PTOKEN_SOURCE SourceContext,
|
|
|
|
OUT PVOID *ProfileBuffer,
|
|
|
|
OUT PULONG ProfileBufferLength,
|
|
|
|
OUT PLUID LogonId,
|
|
|
|
OUT PHANDLE Token,
|
|
|
|
OUT PQUOTA_LIMITS Quotas,
|
|
|
|
OUT PNTSTATUS SubStatus)
|
2001-09-03 20:42:44 +00:00
|
|
|
{
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
2004-08-07 19:13:27 +00:00
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
2008-04-23 20:38:37 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
LsaLookupAuthenticationPackage(ULONG Unknown0,
|
|
|
|
ULONG Unknown1,
|
|
|
|
ULONG Unknown2)
|
2001-09-03 20:42:44 +00:00
|
|
|
{
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
2004-08-07 19:13:27 +00:00
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
2006-10-25 18:23:45 +00:00
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
2008-04-23 20:38:37 +00:00
|
|
|
LsaRegisterLogonProcess(IN PLSA_STRING LogonProcessName,
|
|
|
|
OUT PHANDLE LsaHandle,
|
|
|
|
OUT PLSA_OPERATIONAL_MODE SecurityMode)
|
2001-09-03 20:42:44 +00:00
|
|
|
{
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
|
|
}
|
|
|
|
|
2004-08-03 19:20:39 +00:00
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
NTSTATUS
|
2008-11-29 20:47:48 +00:00
|
|
|
NTAPI
|
2008-04-23 20:38:37 +00:00
|
|
|
SeMarkLogonSessionForTerminationNotification(IN PLUID LogonId)
|
2004-08-03 19:20:39 +00:00
|
|
|
{
|
2010-05-28 16:28:27 +00:00
|
|
|
UNIMPLEMENTED;
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
2004-08-03 19:20:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
NTSTATUS
|
2008-11-29 20:47:48 +00:00
|
|
|
NTAPI
|
2008-04-23 20:38:37 +00:00
|
|
|
SeRegisterLogonSessionTerminatedRoutine(IN PSE_LOGON_SESSION_TERMINATED_ROUTINE CallbackRoutine)
|
2004-08-03 19:20:39 +00:00
|
|
|
{
|
2010-05-28 16:28:27 +00:00
|
|
|
UNIMPLEMENTED;
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
2004-08-03 19:20:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @unimplemented
|
|
|
|
*/
|
|
|
|
NTSTATUS
|
2008-11-29 20:47:48 +00:00
|
|
|
NTAPI
|
2008-04-23 20:38:37 +00:00
|
|
|
SeUnregisterLogonSessionTerminatedRoutine(IN PSE_LOGON_SESSION_TERMINATED_ROUTINE CallbackRoutine)
|
2004-08-03 19:20:39 +00:00
|
|
|
{
|
2010-05-28 16:28:27 +00:00
|
|
|
UNIMPLEMENTED;
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
2004-08-03 19:20:39 +00:00
|
|
|
}
|
|
|
|
|
2001-09-03 20:42:44 +00:00
|
|
|
/* EOF */
|