Remove connected user from connection state on Logoff

This commit is contained in:
Tal Aloni 2017-01-14 14:31:50 +02:00
parent fb68513c16
commit 584ca8da61

View file

@ -97,6 +97,8 @@ namespace SMBLibrary.Server
} }
else if (command is LogoffAndXRequest) else if (command is LogoffAndXRequest)
{ {
// FIXME: Remove connected trees that the user has connected to
state.RemoveConnectedUser(header.UID);
return new LogoffAndXResponse(); return new LogoffAndXResponse();
} }
else if (state.IsTreeConnected(header.TID)) else if (state.IsTreeConnected(header.TID))