mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
[LSASRV]
Set session data after the logon token has been created. Still WIP. svn path=/trunk/; revision=61399
This commit is contained in:
@@ -829,14 +829,12 @@ LsapLogonUser(PLSA_API_MSG RequestMsg,
|
||||
|
||||
TokenHandle = NULL;
|
||||
|
||||
#if 0
|
||||
Status = LsapSetLogonSessionData(&RequestMsg->LogonUser.Reply.LogonId);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
TRACE("LsapSetLogonSessionData failed (Status 0x%08lx)\n", Status);
|
||||
goto done;
|
||||
}
|
||||
#endif
|
||||
|
||||
done:
|
||||
if (!NT_SUCCESS(Status))
|
||||
|
||||
@@ -396,6 +396,9 @@ NTSTATUS
|
||||
NTAPI
|
||||
LsapDeleteLogonSession(IN PLUID LogonId);
|
||||
|
||||
NTSTATUS
|
||||
LsapSetLogonSessionData(IN PLUID LogonId);
|
||||
|
||||
/* utils.c */
|
||||
INT
|
||||
LsapLoadString(HINSTANCE hInstance,
|
||||
|
||||
@@ -53,6 +53,22 @@ LsapGetLogonSession(IN PLUID LogonId)
|
||||
}
|
||||
|
||||
|
||||
NTSTATUS
|
||||
LsapSetLogonSessionData(IN PLUID LogonId)
|
||||
{
|
||||
PLSAP_LOGON_SESSION Session;
|
||||
|
||||
TRACE("()\n");
|
||||
|
||||
Session = LsapGetLogonSession(LogonId);
|
||||
if (Session == NULL)
|
||||
return STATUS_NO_SUCH_LOGON_SESSION;
|
||||
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
LsapCreateLogonSession(IN PLUID LogonId)
|
||||
|
||||
Reference in New Issue
Block a user