3.1.6.2 Server Registers a New Session

The CIFS or SMB2 server requesting registration of a Session provides no parameters. The server MUST insert a new Session into SessionList, and MUST assign Session.GlobalSessionId the value that uniquely identifies the entry in the list. This value MUST be returned to the caller.