Compartilhar via


3.1.6.7 Server Deregisters a Treeconnect

The CIFS or SMB2 server MUST provide the tuple <ServerName, ShareName> and the TreeconnectId of the TreeConnect that is being deregistered.

The server MUST look up the TreeConnect in TreeConnectList, where TreeConnect.GlobalTreeConnectId is equal to the TreeconnectId provided by the caller, and MUST remove it from TreeConnectList. The server MUST look up the Share in the ShareList, where ShareName matches Share.ShareName, and MUST decrease Share.CurrentUses by 1.