Created
August 24, 2016 02:51
-
-
Save yellowred/58a65d50c5a10d55fcc0f1a87b94d043 to your computer and use it in GitHub Desktop.
create LDAP client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ldapOptions = { | |
url: ldapConfig.url, | |
timeout: ldapConfig.timeout, | |
connectTimeout: ldapConfig.connectTimeout, | |
reconnect: true | |
}; | |
const ldapClient = ldapjs.createClient(ldapOptions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment