One-shot LDAPS search: connect (optionally bind), search, and close.
Identical to ldapSearch except the transport defaults to implicit TLS on port 636.
Combined connection and search options.
The matched entries.
If a requested bind is rejected.
If the search fails.
1.0.0
const entries = await search({ hostname: 'ldaps.example.com', base: 'dc=example,dc=com', filter: '(uid=jdoe)'}); Copy
const entries = await search({ hostname: 'ldaps.example.com', base: 'dc=example,dc=com', filter: '(uid=jdoe)'});
One-shot LDAPS search: connect (optionally bind), search, and close.
Identical to ldapSearch except the transport defaults to implicit TLS on port 636.