Active Directory is configured on VM Squared through the dashboard console. This guide illustrates the use of the AD configuration wizard to create and test the configuration file prior to it being applied to the VM Squared cluster.
SSH onto the VM Squared dashboard console and run the manage-ldap command
Select option 1 to create a new AD configuration with the wizard, and hit enter.
Enter the hostname or IP address of a domain controller accessible by the dashboard.
Enter the username of the bind account that has permissions to read AD objects in the format of “username@domain”, followed by its password.
Enter the base distinguished name to search for target users and groups, for the example above:
Enter the distinguished name of the security group you wish to use, for the example above: CN=normal-users,OU=Groups,OU=TEST-LABS,DC=TEST-LABS,DC=sa,DC=test,DC=com
Select the group in the dashboard (or create a new one) to which you wish to map the AD group
You may add additional mappings at this time if desired, but if you are only adding one group, select n and hit enter
At this time, you can choose to test the configuration by selecting the Test option and entering the credentials of a user that exists in the security group selected previously.
Once the test is successful, commit the changes to save the configuration.
Once changes have been committed, select Quit.
At this point Active Directory has been enabled on the VM Squared cluster.
Connect to the dashboard via SSH and run the manage-ldap command.
Select the “Create new AD configuration” option
A sample file will be opened in a text editor. Change the necessary values to reflect the AD domain and domain controller you wish to authenticate against.
Save your changes with CTRL + S, and then exit the editor with CTRL + Q
At the configuration management menu, select the option for Group Mappings, and either edit the existing mapping.yaml file or create your own new file.
Once you’ve added the mapping(s), save your changes with CTRL + S, and then exit the editor with CTRL + Q
At the Group Mappings menu, select the option to go Back, and then commit your changes at the Configuration Management Menu
At this time, you can choose to test the configuration by selecting the Test option and entering the credentials of a user that exists in the security group selected previously.
At this point Active Directory has been enabled on the VM Squared cluster.
Connect to the dashboard via SSH and run the manage-ldap command.
Select the “Create new LDAP configuration” option
A sample file will be opened in a text editor. Change the necessary values to reflect the configuration and server you wish to authenticate against.
Save your changes with CTRL + S, and then exit the editor with CTRL + Q
At the configuration management menu, select the option for Group Mappings, and either edit the existing mapping.yaml file or create your own new file.
Once you’ve added the mapping(s), save your changes with CTRL + S, and then exit the editor with CTRL + Q
At the Group Mappings menu, select the option to go Back, and then commit your changes at the Configuration Management Menu
At this time, you can choose to test the configuration by selecting the Test option and entering the credentials of a user that exists in the security group selected previously.
At this point LDAP has been enabled on the VM Squared cluster.