node-ldapjs icon indicating copy to clipboard operation
node-ldapjs copied to clipboard

LDAP Client and Server API for node.js

Results 127 node-ldapjs issues
Sort by recently updated
recently updated
newest added

```JavaScript var ldap = require("ldapjs"); var client = ldap.createClient({ url: 'ldap://192.168.11.22:389' }); var opts = { filter: `(sAMAccountName=${username})`, scope: 'sub', timeLimit: 500 }; client.bind('testUsername', 'testPassword', function (err1, res1) { client.search('DC=test,DC=com',...

Hello... I've an strange issue when binding to an Active Directory Server. I am trying to authenticate the user using ldapjs. This is my code which works fine with most...

Hi, ldapjs is a real life-saver: I created a LDAP-server for our telephony which then searches for numbers in a SQL database. Therefore, thanks for ldapjs :) I just improved...

When unrecognized data arrives, the service throws an error. ``` [14:20:24.934] TRACE (264336): new connection from 185.122.204.179:60574 [14:20:24.935] TRACE (264336): data on 185.122.204.179:60574: node:events:492 throw er; // Unhandled 'error' event...

Testing Active Directory ``` const ldap = require('ldapjs') const client = ldap.createClient({ url: ['ldaps://ad.test.com:636'], connectTimeout: 5000, tlsOptions: { rejectUnauthorized: false } }) client.bind('CN=Administrator,CN=Users,DC=test,DC=com', 'password', (err, res) => { if (err)...

Fixes an issue ( see #900 and #974 ) where attributes with uppercase characters would be filtered out in the response due to the lowercase matching in the search response:...

i have a function that generates LDAP User object from data received from Keycloak and sends it via search response. commented are problematic: ``` const fabricatedObject = { dn: 'uid='...