Viewing CIFS Shares

The section describes how to view paths, users or users groups, and access permissions of CIFS shares.

Context

Prerequisites

You have created a CIFS share.

Procedure

  1. Choose Resources > Resources > Share > CIFS Share.
  2. Select a desired account from the Account drop-down list in the upper left corner.
  3. View information about the CIFS shares in the function pane. Table 1 describes related parameters.

    Table 1 CIFS share parameters

    Parameter

    Description

    Share Name

    Name of a share.

    ID

    ID of a share.

    Path

    Path of a share.

    Homedir

    Whether the share mode of a share is Homedir.

    Create Default ACL

    Whether the function of adding the default ACL is enabled for a share.

    Notify

    Whether the Notify function is enabled for a share.

    After this function is enabled, a client's modification operations on a directory, such as adding a directory, adding a file, modifying the directory, and modifying a file, can be detected by other clients that are accessing this directory or the parent directory of this directory. Results of the modification operations are displayed after the page is automatically refreshed.

    SMB3 Encryption

    Whether SMB3 encryption is enabled for a share.

    Determine whether to enable SMB3 encryption. After this function is enabled, the system encrypts the share to ensure data security, but performance deteriorates.

    NOTICE:

    Enabling this function affects SMB3 service performance. Check whether this function needs to be enabled.

    NOTE:

    After SMB3 encryption is enabled, only SMB3 clients can access shares by default.

    Unencrypted Client Access

    Whether unencrypted client access is enabled for a share.

    After this function is enabled, clients that do not have encryption capabilities can access the share.

    NOTICE:

    After this function is enabled, clients of earlier versions (for example, Windows 7) are allowed to access shares where SMB3 encryption is enabled in plaintext. Check whether this function needs to be enabled.

    NOTE:

    This function takes effect only after the SMB3 encryption function is enabled.

    Oplock

    Whether oplock is enabled for a share.

    Opportunistic locking (oplock) is a mechanism used to improve client access efficiency and locally buffer files before they are sent to shared storage. This function is not recommended in the following scenarios:

    • Scenarios that have high requirements for data integrity. If oplock is enabled in such scenarios, the local cache of the client may be lost due to network interruption or client faults. If the upper-layer service software does not have a mechanism to ensure data integrity, recovery, or retry, data loss may occur.
    • Scenarios where multiple clients access the same file. If oplock is enabled in such scenarios, system performance will be adversely affected.
    NOTE:

    Oplock for a share takes effect only when both oplock for the account and oplock for the share are enabled.

    Lease

    Whether lease is enabled for a share.

    Lease allows a client to lock a file using a lease key, and the file locking can be canceled by the server.

    NOTE:
    • Only clients of SMB 2.1 and later versions support lease.
    • Run the change service cifs enable_leasev2=yes command to enable lease. Lease for a share takes effect only when both lease for the account and lease for the share are enabled.

    ABE

    Whether access-based enumeration (ABE) is enabled for a share.

    After this function is enabled, files and folders that users do not have permissions to access are hidden.

    NOTE:

    SMB2 and SMB3 support the ABE function, but SMB1 does not.

    Show Previous Version

    Whether the function of displaying previous versions is enabled for a share.

    After the function of displaying previous versions is enabled, a client can display previous versions and supports version rollback.

  4. (Optional) Click the name of a CIFS share to view its basic information.