Set session data after the logon token has been created. Still WIP.

svn path=/trunk/; revision=61399
This commit is contained in:
Eric Kohl 2013-12-25 11:36:17 +00:00
parent 642f87027e
commit 5ee36b1e8f
3 changed files with 19 additions and 2 deletions

View file

@ -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))

View file

@ -396,6 +396,9 @@ NTSTATUS
NTAPI
LsapDeleteLogonSession(IN PLUID LogonId);
NTSTATUS
LsapSetLogonSessionData(IN PLUID LogonId);
/* utils.c */
INT
LsapLoadString(HINSTANCE hInstance,

View file

@ -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)