Skip to main content
Version: Next

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

Constructor

Modifiers

Description

(constructor)(client, logger)

Constructs a new instance of the LdapClient class

Methods

Method

Modifiers

Description

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