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

Connector LDAP

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

Data In/ Data Out

Data In

N/A

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.

Parameters

Screenshot 2021-09-23 at 5.07.08 PM.png

URI (required)

URI to LDAP server

 

Credentials

Bind DN (required)

Bind DN to authenticate against

Password

Password for the specified Bind DN

 

Search Parameters

Base DN

The LDAP Base DN to start searching from

Scope

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 StringString.

 

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

eg.

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

 

Learn more: about LDAP filtering here.