mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-04 15:01:28 +02:00
Call DeleteSecurityContext during Logoff
This commit is contained in:
parent
0764237260
commit
b54cee3070
2 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,7 @@ namespace SMBLibrary.Server
|
|||
}
|
||||
else if (command is LogoffAndXRequest)
|
||||
{
|
||||
m_securityProvider.DeleteSecurityContext(ref session.SecurityContext.AuthenticationContext);
|
||||
state.RemoveSession(header.UID);
|
||||
return new LogoffAndXResponse();
|
||||
}
|
||||
|
|
|
@ -129,6 +129,7 @@ namespace SMBLibrary.Server
|
|||
}
|
||||
else if (command is LogoffRequest)
|
||||
{
|
||||
m_securityProvider.DeleteSecurityContext(ref session.SecurityContext.AuthenticationContext);
|
||||
state.RemoveSession(command.Header.SessionID);
|
||||
return new LogoffResponse();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue