This command makes the cluster join or leave an Active Directory domain, and also lets you modify SMB-related access settings.
Usage
activedirectory modify --id ID
--admin-username USERNAME
[--admin-passwd PASSWORD]
[--join|--leave]
[--allow-smb|--disallow-smb]
[--enable-ntlm|--disable-ntlm]
Required Parameters
| Identifies the Active Directory configuration. To obtain the ID of an Active Directory configuration record, run activedirectory list. |
| Specify an Active Directory admin user with permission to join the Active Directory domain. |
Options
| Specify the password for the specified user. If not supplied, you are prompted for the password.
|
| Include this option to join the Active Directory domain. |
| Include this option to leave the Active Directory domain. |
| When this option is specified, VAST Cluster uses this Active Directory provider to authenticate and authorize clients accessing the cluster via the SMB storage protocol.
|
| Disables use of this Active Directory provider for SMB client access.
|
| When this option is specified, SMB clients accessing the cluster are allowed to use NTLM authentication to get authenticated via this Active Directory provider. This is the default behavior.
|
| Prohibits use of NTLM authentication on this Active Directory provider.
|
Example
This example shows the cluster joining to an Active Directory domain.
vcli: admin> activedirectory modify --id 1 --join --admin-username myuser
Are you sure you want to modify the Active directory? [y/N] y
Enter admin password:
Password:
Waiting ...
[2020-03-31 10:18:39] waiting for active directory AD enabled state to change to True ...\
[2020-03-31 10:19:45] modify active directory completed successfully .../