Skip to main content
Version: 0.10.4

LDAP

Certified

This plugin extracts the following:

  • People
  • Names, emails, titles, and manager information for each person
  • List of groups

CLI based Ingestion

Install the Plugin

pip install 'acryl-datahub[ldap]'

Starter Recipe

Check out the following recipe to get started with ingestion! See below for full configuration options.

For general pointers on writing and running a recipe, see our main recipe guide.

source:
type: "ldap"
config:
# Coordinates
ldap_server: ldap://localhost

# Credentials
ldap_user: "cn=admin,dc=example,dc=org"
ldap_password: "admin"

# Options
base_dn: "dc=example,dc=org"

sink:
# sink configs

Config Details

Note that a . is used to denote nested fields in the YAML recipe.

FieldDescription
base_dn 
string
LDAP DN.
ldap_password 
string
LDAP password.
ldap_server 
string
LDAP server URL.
ldap_user 
string
LDAP user.
attrs_list
array(string)
custom_props_list
array(string)
drop_missing_first_last_name
boolean
If set to true, any users without first and last names will be dropped.
Default: True
filter
string
LDAP extractor filter.
Default: (objectClass=*)
group_attrs_map
object
Default: {}
manager_filter_enabled
boolean
Use LDAP extractor filter to search managers.
Default: True
manager_pagination_enabled
boolean
Use pagination while search for managers (enabled by default).
Default: True
page_size
integer
Size of each page to fetch when extracting metadata.
Default: 20
platform_instance
string
The instance of the platform that all assets produced by this recipe belong to
user_attrs_map
object
Default: {}
env
string
The environment that all assets produced by this connector belong to
Default: PROD
stateful_ingestion
StatefulStaleMetadataRemovalConfig
Base specialized config for Stateful Ingestion with stale metadata removal capability.
stateful_ingestion.enabled
boolean
The type of the ingestion state provider registered with datahub.
Default: False
stateful_ingestion.remove_stale_metadata
boolean
Soft-deletes the entities present in the last successful run but missing in the current run with stateful_ingestion enabled.
Default: True

Code Coordinates

  • Class Name: datahub.ingestion.source.ldap.LDAPSource
  • Browse on GitHub

Questions

If you've got any questions on configuring ingestion for LDAP, feel free to ping us on our Slack.