Modifying the Mapping Rule of a CIFS Homedir Share

This section describes how to modify the mapping rule of a CIFS Homedir share.

Prerequisites

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. Click the name of a desired CIFS Homedir share to go to its details page.
  4. On the page that is displayed, select the Mapping Rule tab. Click More on the right of a desired mapping rule and select Modify.

    The Modify Mapping Rule page is displayed on the right.

  5. In Priority, set the priority of the mapping rule.

    • The value of Priority ranges from 1 to 1024.
    • Mapping rules are sorted in descending order of priorities. A smaller value indicates a higher priority. Rules with the same priority are sorted based on the creation sequence. Users match mapping rules in sequence.

  6. Determine whether to enable Auto Create Path. After this function is enabled, if there is no relative path under the CIFS Homedir share, the system creates a relative path automatically.

    • When Auto Create Path is disabled, if there is no user path, the current mapping rule fails to be matched, and the system continues to match the next mapping rule.
    • If Security Style of the namespace is UNIX, the UNIX permission of the namespace root directory is 755 by default. To modify the UNIX permission, run the change

      namespace general name=Namespace name unix_permissions=777 command, so that the automatic path creation function takes effect. Otherwise, users matching this rule cannot access the Homedir share.

  7. Click OK.

    Confirm your operation as prompted.