LDAP Source Connector
The LDAP source connector lets DataSync retrieve data from LDAP (Lightweight Directory Access Protocol) server and load it into your data warehouse. It supports both unencrypted connections and secure connections over TLS/SSL. Once your source connection is ready, configure your destination connection to finish the setup.
The LDAP connector supports only the Truncate and Load option for running extractions.
Create the source connection in DataSync
- Log in to DataSync.
- From the welcome screen, select Connections.
- Next to Source Connections, click New.
- Select LDAP.
- Enter all required connection properties.
- (Optional) In the Additional Connection Properties panel, click Add property and enter any extra parameters you need.
- Configure the advanced settings to match your environment, including Tracking Type.
- Click Save.
Connection properties
| Property | What to enter |
|---|---|
| Description | Unique name for the connection. Example: LDAP. |
| Server | Domain name of the LDAP server, without the LDAP:// prefix. Example: ldapserver.mydomain.local. |
| Port | Port the LDAP server is running on. Default: 389. If you enable Enable LDAP over TLS/SSL, use port 636 instead. |
| Enable LDAP over TLS/SSL | Secures the connection using TLS/SSL encryption. |
| Username | Login account in domain format. Example: DOMAIN\\jdoe. |
| Password | Password for this account. |
| Search base | Base distinguished name (DN) for queries. Set to the root directory or a specific subtree. Example: 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 | Depth of the directory search.
|
| Timeout | Time in seconds to wait before a connection attempt or query execution times out. |
| Follow Referrals | Follows referrals returned by the LDAP server to retrieve data from other directory partitions. |
| Friendly GUID | Controls how GUID attributes such as objectGUID are returned. When enabled, values are returned as readable strings. Example: 708d9374-d64a-49b2-97ea-489ddc717703. When disabled, values are returned as base64-encoded strings. |
| Friendly SID | Controls how SID attributes such as objectSID are returned. When enabled, values are returned as readable strings. Example: S-1-5-21-4272240814-246508344-1325542772-12464. When disabled, values are returned as base64-encoded strings. |
| Verbosity | Controls how much detail the connector writes to the log. Each level includes everything from the level below it, plus additional detail.
|
| Enable Pooling | Enables connection pooling, which keeps a set of database connections open and reuses them across extractions instead of opening a new connection each time. This reduces overhead and improves performance when multiple extractions run at the same time. |
| Pool idle timeout | Time in seconds a connection can stay idle before returning to the pool. |
| Max Pool Size | Maximum number of connections allowed in the pool at the same time. |
| Pool wait time | Time in seconds DataSync waits for an available connection before throwing an error. |
Additional connection properties
Use this panel to enter connection string properties not available in the Connection Properties panel. For sensitive values such as passwords, set the type to Encrypted. The value is hidden in the interface and stored encrypted in the back end.
| Property | What to enter |
|---|---|
SSLServerCert | Certificate used to validate the TLS/SSL connection. If not specified, any certificate trusted by the machine is accepted. Accepted formats:
|
AuthMechanism | Authentication mechanism used for the connection.
|
Advanced settings
These settings control how the connector tracks data changes, handles time and regional configuration, and processes records during extraction. Configure them to match your LDAP environment so that results stay accurate and consistent.
| Setting | What to select |
|---|---|
| Batch Size | Number of records processed per batch during extraction. Larger batches can improve performance but use more memory. Default is 2000, maximum is 10000. Adjust based on your network speed and disk performance. The default works well in most cases. |
Example setup
