ePrivacy and GPDR Cookie Consent by Cookie Consent Skip to main content

Connector LDAP

LDAP, or Lightweight Directory Access Protocol, is a standardized protocol used for accessing and managing directory information services. LDAP facilitates communication between clients and directory servers, enabling efficient data retrieval and modification. In the context of exporting data from LDAP to a Customer Data Platform, businesses can export user information, preferences, and other relevant attributes. 

Data In/ Data Out

This component connects, searches, and gets data from the LDAP server.

Data In


Data Out

Connector inserts output data into a  data.pickle file.


Data from the file can be loaded using the following Python code:

import pickle

with open('data.pickle', 'rb') as f:

    data = pickle.load(f)

Data structure loaded from pickle file is a list of tuples, where each result tuple is of the form (dn,entry), where: 


  • dn is a string containing the DN (distinguished name) of the entry
  • entry is a dictionary containing the attributes

Attribute types are used as string dictionary keys and attribute values are stored in a list as dictionary values.

Learn more: about the folder structure please go to this article.


Screenshot 2021-09-23 at 5.07.08 PM.png

URI (required)

URI to LDAP server



Bind DN (required)

Bind DN to authenticate against


Password for the specified Bind DN


Search Parameters

Base DN

The LDAP Base DN to start searching from


Can be base, one-level, or subtree:

  • base - search only on the Base DN
  • one-level - searches one-level below the Base DN
  • subtree - searches all subtrees that are under the Base DN.

Filter String

LDAP Filter String.


To filter by timestamps like for example “modifytimestamp” in LDAP server, placeholders with date time described with natural language can be used between [[]],


(modifytimestamp>=[[6 days ago]])(modfiytimestamp<=[[today]])


Learn more: about LDAP filtering here.