This command lists Active Directory configuration records with their IDs. It can be used to retrieve the record ID so that you can run activedirectory modify to join the Active Directory domain.
Usage
activedirectory list
Example
vcli: admin> activedirectory list
+----+---------------+----------------------+-----------------------------------------+--------------+-------------+------------+------+--------+------------------------------+------------------------------+---------+-----------+--------------+---------------------------------------------------+-------------------------------------------+---------------------------------------+--------------------------------------------------+
| ID | Domain Name | Machine Account Name | Organizational Unit | State | Smb-allowed | Ldap-state | Port | Method | Searchbase | Group-searchbase | Use-tls | Use-ldaps | Ntlm-enabled | Scheduled Machine Account password change enabled | Machine Account password change frequency | Machine Account password update time | Last Machine Account password renewal status |
+----+---------------+----------------------+-----------------------------------------+--------------+-------------+------------+------+--------+------------------------------+------------------------------+---------+-----------+--------------+---------------------------------------------------+-----------------+-----------------------------------------------------------------+--------------------------------------------------+
| 2 | dom.pvt | vast1 | | JOINED | True | None | 389 | simple | | | False | False | True | False | 0d | 00:00:00 | {'is_during_change': False, |
| | | | | | | | | | | | | | | | | | 'last_change_attempt': None, |
| | | | | | | | | | | | | | | | | | 'last_successful_change': None, |
| | | | | | | | | | | | | | | | | | 'message': '', |
| | | | | | | | | | | | | | | | | | 'next_scheduled_change': None} |
| 1 | vast.lab | vast1 | | JOINED | True | None | 389 | simple | | | False | False | True | False | 0d | 00:00:00 | {'is_during_change': False, |
| | | | | | | | | | | | | | | | | | 'last_change_attempt': None, |
| | | | | | | | | | | | | | | | | | 'last_successful_change': None, |
| | | | | | | | | | | | | | | | | | 'message': '', |
| | | | | | | | | | | | | | | | | | 'next_scheduled_change': None} |
| 5 | aws-dom01.dev | vast2 | OU=VASTs,OU=VastENG,DC=aws-dom01,DC=dev | NOT_A_MEMBER | True | None | 389 | simple | CN=Users,DC=aws-dom01,DC=dev | CN=Users,DC=aws-dom01,DC=dev | False | False | True | False | 3M | 20:00:00 | {'is_during_change': False, |
| | | | | | | | | | | | | | | | | | 'last_change_attempt': None, |
| | | | | | | | | | | | | | | | | | 'last_successful_change': None, |
| | | | | | | | | | | | | | | | | | 'message': '', |
| | | | | | | | | | | | | | | | | | 'next_scheduled_change': None} |
+----+---------------+----------------------+-----------------------------------------+--------------+-------------+------------+------+--------+------------------------------+------------------------------+---------+-----------+--------------+---------------------------------------------------+-------------------------------------------+---------------------------------------+--------------------------------------------------+