edgeport - v1.0.3
    Preparing search index...

    Function search

    • One-shot search: connect (optionally bind), search, and close in a single call.

      Parameters

      Returns Promise<LdapEntry[]>

      The matched entries.

      If a requested bind is rejected.

      If the search fails.

      1.0.0

      const entries = await search({
      hostname: 'ldap.example.com',
      bindDN: 'cn=admin,dc=example,dc=com',
      password: 'secret',
      base: 'dc=example,dc=com',
      filter: '(objectClass=person)'
      });