CloudPanel ADSync is a tool that is used to sync attributes and passwords between a customer’s on-site domain controller(s) and your CloudPanel instance. The service will sync these attributes at custom time intervals which default to every 15 minutes but can be adjusted with registry changes.
Notice!
You do not run ADSync in your CloudPanel environment! This application goes on the customer's domain controller(s) to sync data back to your CloudPanel environment. Installing this tool is completely OPTIONAL and is only needed if you want to sync your customer's domain data (user attributes, passwords, etc) to your CloudPanel and visa vera.
CloudPanel ADSync was introduced in version 3.2.315.0 and provides a way for you to keep a customer’s on-site Active Directory Domain Controller in sync with your CloudPanel environment.
The current version of this sync utility can sync user attributes such as first name, last name, address, and even passwords.
The first thing you must do is enable ADSync in CloudPanel for that customer. Once you go to the customer you will see a AD Sync link on the left side which will bring you to this page.
The API key is going to be used in the installer when you install the software on the client’s domain controllers. You must also provide the client’s public IP because ClouDPanel uses the API Key and the source IP to allow access.
Below are some of the options available:
Password synchronization is always two-way. If a user’s password is reset in the customer’s Active Directory or in CloudPanel, it will always sync to the other side. The sync precedence applies only to the attributes you select below. If you want to disable password syncing, uncheck "Update Passwords"
In order to implement CloudPanel ADSync, you must first prep the customer domain controller:
Warning!
The sync service must be installed on every domain controller in the customer’s environment
During the install you must provide the URL to where your CloudPanel instance is installed, the company code for the company, the API key and choose to log Information, Warnings and Errors.
Company Codes
Starting with ADSync verison 1.0.71 you can now enter a comma separated list of company codes to have a single instance sync with multiple customers on CloudPanel.
The ADSync service will default to syncing attributes and passwords every 15 minutes, but this can be customized. Simply go to the registry settings with regedit and modify the timeframes and then restart the service. Keep in mind if the customer has multiple domain controllers, this will need to be done on each one.
It is recommended to use your RMM software to monitor that the CloudPanel Sync Service remains running. If the service stops, then data will not be synced between environments
The sync service on the customer side will log errors to the event viewer and changes that are made in CloudPanel will be logged in the audit trail which you can view on the company overview page.
If you have an issue with the password filter not working, you may need to check that the DLL actually loaded in the system after the reboot. To check that the DLL loaded, please go to System Information and check on the Loaded Modules. You should see a “pwdsyncfilter” listed:
Sometimes you can run into a situation where the service may not run on the domain controller. This could be caused by a couple of reasons:
Another reason could be due to a repair done on the install. If a repair was done it could potentially replace the DWORD registry keys with strings. In order to resolve this, simply delete the REG_SZ keys and recreate them with DWORD values or uninstall and reinstall (not repair).