![background image](http://html1.mh-extra.com/html/quantum/dxi-v1000/dxi-v1000_command-manual_3788849034.webp)
Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-05 Rev B
April 2012
26
NAS Configuration CLI Commands
• xxx$ – Matching pattern xxx at the end of names
Remember to escape
$
with a backslash because it is special to the shell. For
example, to delete all shares ending with
test
in the names, type the
following command:
syscli --deleteall share --namematch test\$
•
--sure
: If specified, the command will execute immediately without asking
for confirmation.
Note:
Option marked with (
*
) means not supported in Web Services.
Joining or Disjoining a
Windows Domain
syscli --join workgroup --name <workgroup name>
syscli --join ads --domain <domain name> [--org <organizational unit>] --
admin <domain user authorized to join> [--password <domain user
password>] [--pdc <primary domain controller>] [--prewin2kdomain
<preWindows 2000 domain name>]
syscli --disjoin workgroup --name <workgroup name>
syscli --disjoin ads [--admin <domain user authorized to join> [--password
<domain user password>]]
This CLI command allows the admin user to join the Samba server to a Windows
workgroup or a Windows Active Directory domain (ADS). If the server is already
in the joined state, the CLI also provides the capability to disjoin the workgroup
or the Active Directory domain.
Joining an Active Directory requires the name or IP address of a primary domain
controller (PDC). However, if the
--pdc
option is not specified, the CLI will
discover it automatically. The
--admin
option specifies the name of the domain
user who is authorized to join the active directory domain. This domain user is
the user defined in the ADS domain and is not necessarily the admin user. Thus
the admin must supply this domain user credential in order to join the domain.
The admin can choose not to supply the password on the command line. In this
case the CLI prompts the admin for the password and will not echo his response
for security purposes.
Note that the
disjoin ads
command no longer requires the user name and
password; it always succeeds even if the username and/or password is wrong.
The only difference is that the computer account in the AD server will be
successfully disabled if both the username and password are correct, and will
remain enabled otherwise. The new behavior of this command is needed to
disjoin ADS for cases where the AD server is changed or the old admin user
account is no longer valid.
CLI command options:
•
--join
: Joins CIFS server to a Windows Active Directory domain.
If
--password
is specified and
<admin_password>
is not, or if
--password
is omitted, it will be prompted interactively and the password is not echoed
on screen.
•
--domain
: Active Directory domain name
•
--admin
: username of any account that has the right to join the domain.