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 putsinserts output data into a  data.pickle filefile.

 

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)dn,entry), where where: 

 

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


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



Parameters

Screenshot 2021-09-23 at 5.07.08 PM.png

URI (required)

URI to LDAP server.server

 

Credentials

Bind DN (required)

Bind DN to authenticate against.against

Password

passwordPassword for the specified bindBind dn.DN

 

Search Parameters

Base DN

The LDAP baseBase dnDN to start searching from.from

Scope

Can be base,base, one-level,level, or subtree.subtree:

  • base - search only on the baseBase dn.DN

  • one-level - searches one-level below the baseBase dn.DN

  • subtree - searches all subtrees that are under the baseBase dn.DN.

Filter stringString

LDAP filterFilter string.String

Learn more: about LDAP filtering herehere.