3.3.4.7 Server Application Requests Querying a Share

The calling application MUST provide the tuple <ServerName, ShareName> of the share that is being queried. The server MUST look up the share in the Server.ShareTable. If the matching share is found, the server MUST return a share in the SHARE_INFO_503_I and SHARE_INFO_1005 structures to the caller as specified in [MS-CIFS] section 3.3.4.12 with the following values set; otherwise, the server MUST return an implementation-dependent error.

Output Parameters

MS-SMB Share Properties

SHARE_INFO_503_I.shi503_security_descriptor

Server.Share.FileSecurity

SHARE_INFO_1005.shi1005_flags

Server.Share.ShareFlags