Skip to main content

Add LDAP entry

Action ID: tools.ldap.add_entry Add an entry to the LDAP directory. Reference: https://ldap3.readthedocs.io/en/latest/add.html

Secrets

Required secrets:
  • ldap: required values LDAP_HOST, LDAP_PORT, LDAP_USER, LDAP_PASSWORD.

Input fields

attributes
object
required
Attributes of the entry
dn
string
required
Distinguished name of the entry
object_class
string
required
Object class of the entry
connection_kwargs
object | null
Additional connection parametersDefault: null.
server_kwargs
object | null
Additional server parametersDefault: null.

Delete LDAP entry

Action ID: tools.ldap.delete_entry Delete an entry from the LDAP directory. Reference: https://ldap3.readthedocs.io/en/latest/delete.html

Secrets

Required secrets:
  • ldap: required values LDAP_HOST, LDAP_PORT, LDAP_USER, LDAP_PASSWORD.

Input fields

dn
string
required
Distinguished name of the entry
connection_kwargs
object | null
Additional connection parametersDefault: null.
server_kwargs
object | null
Additional server parametersDefault: null.

Modify LDAP entry

Action ID: tools.ldap.modify_entry Modify an LDAP entry in the directory. Reference: https://ldap3.readthedocs.io/en/latest/modify.html

Secrets

Required secrets:
  • ldap: required values LDAP_HOST, LDAP_PORT, LDAP_USER, LDAP_PASSWORD.

Input fields

changes
map[string, array[array[any]]]
required
Changes to the entry
dn
string
required
Distinguished name of the entry
connection_kwargs
object | null
Additional connection parametersDefault: null.
server_kwargs
object | null
Additional server parametersDefault: null.

Search LDAP directory

Action ID: tools.ldap.search_entries Search the LDAP directory for entries matching the query. Reference: https://ldap3.readthedocs.io/en/latest/searches.html

Secrets

Required secrets:
  • ldap: required values LDAP_HOST, LDAP_PORT, LDAP_USER, LDAP_PASSWORD.

Input fields

search_base
string
required
Search base DN
search_filter
string
required
LDAP search filter (RFC4515 syntax). Example: ‘(cn=John*)’ or ’(&(objectClass=person)(mail=*@example.com))’
connection_kwargs
object | null
Additional connection parametersDefault: null.
server_kwargs
object | null
Additional server parametersDefault: null.