Skip to main content

LdapClient

Home > @backstage/plugin-catalog-backend-module-ldap > LdapClient

Basic wrapper for the ldapjs library.

Helps out with promisifying calls, paging, binding etc.

Signature:

class LdapClient 

Constructors

ConstructorModifiersDescription
(constructor)(client, logger)Constructs a new instance of the LdapClient class

Methods

MethodModifiersDescription
create(logger, target, bind, tls)static
getRootDSE()Get the Root DSE.
getVendor()Get the Server Vendor. Currently only detects Microsoft Active Directory Servers.
search(dn, options)Performs an LDAP search operation.
searchStreaming(dn, options, f)Performs an LDAP search operation, calls a function on each entry to limit memory usage