mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +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:
parent
642f87027e
commit
5ee36b1e8f
3 changed files with 19 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue