Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-05 Rev B
April 2012
NAS Configuration CLI Commands
29
Share Administrators
When the server is joined to a Windows Active Directory domain, domain users
are allowed to access CIFS shares but the CLI shall not provide the capabilities to
manage them. To manage them the Windows domain admin, not necessarily
the CLI admin, has to log in to the Windows server and use the Microsoft
Management Console (MMC). The CLI merely provides a limited capability to
grant share administrator privileges to certain domain users. A share
administrator is a domain user or domain group that is granted the privilege of
setting share permissions.
The following Share Administrators control commands are available:
•
•
•
•
Delete All Share Administrators
List Share Administrators
syscli --list shareadmin
This CLI command allows the admin user to display a list of share administrators
if the system is joined to an Active Directory domain.
An example output of administrators when the system is joined to a Windows
domain is shown below.
Total
count
=
1
username
1
=
QUANTUM
-
SQA\Domain
Admins
Add a Share Administrator
syscli --add shareadmin --name <domain_user_or_group_name>
This CLI command allows the admin user to grant share admin privilege to an
existing domain user/group if the system is joined to a Windows Active Directory
domain. The option
--name
must be followed by the name of the domain user
or domain group usually in the form:
<domain_name>\<user_or_group_name>
If the command is typed in a shell, the backslash has to be typed twice. For
example, if the domain name is
quantum.com
and the user is
joe
, the
command to be typed a the shell prompt reads as follows:
syscli --add shareadmin --name quantum\\joe
Delete a Share Administrator
syscli --del shareadmin --name <domain_user_or_group_name>
This CLI command allows the admin user to remove the share admin rights from
an existing share administrator. The syntax for the domain user/group name is
the same as discussed in the command
--add shareadmin
. This command
works only if the system is joined to an ADS domain.