Active Directory Source Connector
The Active Directory source connector in DataSync lets you retrieve data from Active Directory server for loading or synchronizing in your data warehouse. It supports both unencrypted connections and secure connections over TLS/SSL. After creating all required source connections, configure your destination source to complete the connection setup.
Create a source connection in DataSync
- Log in to DataSync.
- From the welcome screen, select Connections.
- Next to Source Connections, click New.
- Select Active Directory.
- In the Connection Properties panel, enter the connection properties.
- (Optional) In the Additional Connection Properties panel, select Add property and enter the parameters for each property.
- In the Advanced Settings panel, configure the settings, including the Tracking Type and other values according to your requirements.
- Click Save.
Parameters
Connection properties
| Parameter | Description |
|---|---|
| Description | Unique name for the connection. Example: Active Directory |
| Server | Fully qualified domain name (FQDN) of the Active Directory server. Example: ADServer.mydomain.local |
| Port | Port the Active Directory server is running on. The default port is 389. If Enable Active Directory over TLS/SSL is selected, set the port to 636. |
| Enable Active Directory over TLS/SSL | Secure connection to the Active Directory server. You must adjust the Port afterwards. |
| Username | Username in domain format. Example: DOMAIN\\jdoe |
| Password | Password for the specified username. |
| Search base | Base distinguished name (DN) for queries. Set to the root directory or a specific subtree. Common examples:DC=mydomain,DC=local or OU=Users,OU=Canada,DC=mydomain,DC=local |
| Maximum number of records | Maximum number of records returned. Set to -1 for no limit. |
| Scope | Scope for directory search:
|
| Timeout | Time in seconds to wait for connection opening and query execution before timeout. |
| Follow Referrals | Option to follow referrals returned by the Active Directory server. |
| Friendly GUID | Format for GUID attributes (such as objectGUID).
|
| Friendly SID | Format for SID attributes (such as objectSID).
|
| Verbosity |
|
| Enable Pooling | Connection pooling option for performance. |
| Pool idle timeout | Maximum idle time for connections before returning them to the pool, in seconds. |
| Max Pool Size | Maximum number of connections allowed in the pool. |
| Pool wait time | Maximum wait time for connection allocation before error is thrown, in seconds. |
Additional connection properties
Additional connection string properties not specified in the Connection Properties panel. For each property added, you can choose Visible or Encrypted. Selecting Encrypted hides the value from the interface and stores it encrypted in the back end, such as when defining passwords.
| Property | Value |
|---|---|
SSLServerCert | Certificate definition for a TLS/SSL connection. Specify the server certificate to accept. Untrusted certificates are rejected. If not specified, any certificate trusted by the machine is accepted. Common examples: PEM certificate -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----File path C:\cert.cerPublic key -----BEGIN RSA PUBLIC KEY----- ... -----END RSA PUBLIC KEY-----MD5 thumbprint ecadbdda5a1529c58a1e9e09828d70e4SHA1 thumbprint 34a929226ae0819f2ec14b4a3d904f801cbb150d |
AuthMechanism | Authentication mechanism:
|
Advanced settings
Advanced settings control how the Active Directory connector tracks changes, handles regional and time configuration, and processes data batches during extraction. These options allow fine‑tuning for performance and accuracy, and should be configured according to your system environment and operational requirements.
| Setting | Description |
|---|---|
| Tracking Type | Method for tracking changes: None or Date. |
| Region | Region setting for the connector, if required by your setup. |
| Time Zone | Time zone matching the Active Directory application server. |
| Time Offset | Refresh offset in seconds to compensate for timing issues in record selection. Minimum value is 0; maximum is 3600 seconds. |
| Batch Size | Quantity of records processed in each batch during extraction. Larger batch sizes increase memory usage but can improve performance up to a point. The default value is 2000 and the maximum should not exceed 10000 records. Adjust according to your network speed and disk performance; in most cases the default (2000) works best. |
Example
The Active Directory connector supports only the Truncate and Load option for running extractions.