Export (0) Print
Expand All
Expand Minimize

3.3.4.14 Server Application Updates a Share

The calling application provides a share in SHARE_INFO_503_I structure and SHARE_INFO_1005 structure as input parameters to update an existing Share. The server MUST validate the SHARE_INFO_503_I and SHARE_INFO_1005 structures as specified in [MS-SRVS] section 3.1.4.11. If any member in the structures is invalid, the server MUST return STATUS_INVALID_PARAMETER to the calling application. The server MUST look up the Share in the ShareList, where shi503_servername matches Share.ServerName and shi503_netname matches Share.Name. If the matching Share is found, the server MUST update the share with the following value set and return STATUS_SUCCESS to the calling application; otherwise the server MUST return an implementation-dependent error.

  • Share.FileSecurity MUST be set to shi503_security_descriptor.

  • Share.Remark MUST be set to shi503_remark.

  • Share.MaxUses MUST be set to shi503_max_uses.

  • Share.CscFlags MUST be set to the value of SHI1005_flags masked by CSC_MASK as specified in [MS-SRVS] section 2.2.4.29.

  • Share.IsDfs MUST be set to TRUE if SHI1005_flags contains SHI1005_FLAGS_DFS or SHI1005_FLAGS_DFS_ROOT as specified in [MS-SRVS] section 2.2.4.29; otherwise, it MUST be set to FALSE.

  • Share.DoAccessBasedDirectoryEnumeration MUST be set to TRUE if SHI1005_flags contains the SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM bit as specified in [MS-SRVS] section 2.2.4.29; otherwise it MUST be set to FALSE.

  • Share.AllowNamespaceCaching MUST be set to TRUE if SHI1005_flags contains SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING bit as specified in [MS-SRVS] section 2.2.4.29; otherwise it MUST be set to FALSE.

  • Share.ForceSharedDelete MUST be set to TRUE if SHI1005_flags contains the SHI1005_FLAGS_FORCE_SHARED_DELETE bit as specified in [MS-SRVS] section 2.2.4.29; otherwise it MUST be set to FALSE.

  • Share.RestrictExclusiveOpens MUST be set to TRUE if SHI1005_flags contains the SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS bit as specified in [MS-SRVS] section 2.2.4.29; otherwise it MUST be set to FALSE.

  • Share.HashEnabled MUST be set to TRUE if SHI1005_flags contains the SHI1005_FLAGS_ENABLE_HASH bit as specified in [MS-SRVS] section 2.2.4.29; otherwise it MUST be set to FALSE.

  • Share.ForceLevel2Oplock MUST be set to TRUE if SHI1005_flags contains SHI1005_FLAGS_FORCE_LEVELII_OPLOCK bit as specified in [MS-SRVS] section 2.2.4.29; otherwise, it MUST be set to FALSE.

  • Share.IsCA MUST be set to TRUE if SHI1005_flags contains SHI1005_FLAGS_ENABLE_CA bit as specified in [MS-SRVS] section 2.2.4.29; otherwise, it MUST be set to FALSE.

  • Share.EncryptData MUST be set to TRUE if SHI1005_flags contains SHI1005_FLAGS_ENCRYPT_DATA bit as specified in [MS-SRVS] section 2.2.4.29. Otherwise, it MUST be set to FALSE.

 
Show:
© 2014 Microsoft