Quantum DXi2500-D Manual page 50

Dxi series command line interface (cli) guide
Hide thumbs Also See for DXi2500-D:
Table of Contents

Advertisement

Quantum DXi-Series Command Line Interface (CLI) Guide
6-66538-03 Rev C
November 2010
50
This command works only when the server is joined to a workgroup. If the
server is joined to an Active Directory domain, please use the Microsoft
Management Console (MMC) tool.
An example output of share users when the system is joined to a workgroup is
shown below.
Total count = 1
[User = 1]
Username = userone
Access Rights = rw
Adding a Share User
syscli --add shareuser --share <CIFS_share_name> --user <username>
[--rw]
This CLI command allows the CLI admin to grant an existing workgroup user the
right to access the specified CIFS share. By default the user has read-only access
to the share. If the --rw option is specified, the user is allowed complete
read-write access to the specified share. However, the effective access rights
depend on the share access mode. If the share is read-only, all users can have
read-only access regardless of their settings.
This command only works when the server is joined to a workgroup. If the
server is joined to an Active Directory domain, complete management of user
access can be done from the Microsoft Management Console (MMC) tool.
By default, a CIFS share is created with an empty initial share access list if the
server is joined to a workgroup. When the share access list is empty, all
workgroup users are allowed read-write access to it. This CLI command can be
used to add a workgroup user to the share access list of the specified CIFS share.
As soon as the share access list contains workgroup user names, only these
users have access to the share.
Deleting a Share User
syscli --del shareuser --share <share_name> --user <username>
This CLI command allows the CLI admin to remove the right to access the
specified CIFS share from a workgroup user. When the last workgroup user is
deleted, the share access list of the specified share is empty, which means the
share now allows read-write access to all workgroup users (see command --add
shareuser).
This command works only when the server is joined to a workgroup. If the
server is joined to an Active Directory domain, please use the Microsoft
Management Console (MMC) tool.
Deleting All Share Users
syscli --deleteall shareuser --share <share_name> [--sure]
This CLI command allows the CLI admin to remove the right to access the
specified CIFS share from all workgroup users. As a result, the share access list of
NAS CLI Configuration Commands

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxi8500Dxi6700Dxi4500Dxi7500Dxi6500

Table of Contents