Adding a User or User Group

This section describes how to add users or user groups for accessing a CIFS share.

Prerequisites

You have created a CIFS share.

Procedure

  1. Choose Resources > Resources > Share > CIFS Share.
  2. Select the desired account from the Account drop-down list in the upper left corner.
  3. Click More on the right of the desired CIFS share and select Add User or User Group.
  4. The Add User or User Group page is displayed on the right.

    Alternatively, perform either of the following operations to add a user or user group:

    • Click the name of the desired CIFS share. On the page that is displayed, click Add in the Permission area.
    • Click the name of the desired CIFS share. In the upper right corner of the page that is displayed, click Operation and select Add User or User Group.

  5. Set User Type for the users or user groups.

    The value can be Everyone, Local Windows authentication user, Local Windows authentication user group, AD domain user, or AD domain user group.

    • If you select Local Windows authentication user or Local Windows authentication user group, select the users or user groups to be added from the list.
    • If you select AD domain user or AD domain user group, enter the names of the users or user groups in Name.
      • A domain user name is in the format of Domain name\Domain user name and a domain user group name is in the format of Domain name\Domain user group name.
      • 1 to 256 characters are allowed.
      • Multiple names are separated by carriage returns.
      • If you do not have the CIFS share administrator permission, you need to change the permission of the root directory in a namespace or dtree used by a share to 777 before you can create files or directories in the root directory in the namespace or dtree. The CLI command for modifying the permission on the root directory in a namespace is as follows:
        change namespace general name=Namespace name unix_permissions=777
        The CLI command for modifying the permission on the root directory in a dtree is as follows:
        change dtree general dtree_name=Dtree name file_system_id=Namespace ID unix_permissions=777

  6. In Permission Level, select the permission granted for the users or user groups.

    Table 1 describes related permissions.

    Table 1 CIFS share permissions

    Permission

    Forbidden

    Read-Only

    Read/Write

    Full Control

    Viewing files and subdirectories

    Xa

    b

    Viewing file contents

    X

    Running executable files

    X

    Adding files or subdirectories

    X

    -c

    Modifying file contents

    X

    -

    Deleting files and subdirectories

    X

    -

    Renaming

    X

    -

    Changing ACL permissions of files or directories

    X

    -

    -

    a: Users do not have the permission.

    b: Users have the permission.

    c: The specified permission is not involved.

  7. Click OK.