3.3.4.20 Server Application Queries an Open

The calling application provides GlobalFileId as an identifier for the Open. The server MUST look up open in GlobalOpenTable where GlobalFileId is equal to Open.FileGlobalId. If Open is found, the server MUST return an open in FILE_INFO_3 structure as specified in [MS-SRVS] section 2.2.4.7 with the following values set and return STATUS_SUCCESS to the calling application.

FILE_INFO_3  Parameters

SMB2 Open Properties

fi3_id

Open.FileGlobalId

fi3_permissions

Open.GrantedAccess

fi3_num_locks

Open.LockCount

fi3_path_name

Open.PathName

fi3_username

Open.Session.UserName, or empty if Open.Session is NULL

If no Open is found, the server MUST return an implementation-dependent error.