node-ldapjs
node-ldapjs copied to clipboard
create client and it error but i got two times
` const clientOps = { BASE_DN: "dn=admin,dc=example,dc=com", bindCredentials: "123456", bindDN: "dc=example,dc=com", host: "127.0.0.1", port: "389", queryCriteria: "dn", url: "ldap://127.0.0.1/cn=admin,dc=example,dc=com", }
const client = ldap.createClient(clientOps);
let i = 1;
client.on('error', (err) => {
console.log(`ldap error time : ${i}`)
i++;
})`
output
ldap error time : 1 ldap error time : 2
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
👋
On February 22, 2023, we released version 3 of this library. As a result, we are closing this issue/pull request.
Please see issue #839 for more information, including how to proceed if you feel this closure is in error.