sandbox-node/ldapjs/index-b.js

13 lines
238 B
JavaScript

const ldap = require('ldapjs');
xvar ldapClient = ldap.createClient({
url:'ldaps://srv-dc.vbn-gmbh.local:636'
}, function (err){
if (err) {
console.log('Failed');
process.exit(1);
}
else
console.log('Through');
});