jeremycx/node-LDAP — pull request #53 by bhuisgen (2014-01-28 11:23:53+00:00)
Title: Add StartTLS connection support

```js
/*
* LDAP connection with StartTLS
*/
var ldap = require("LDAP");

var l = new ldap({
uri: "ldap://ldap.my.domain",
starttls: true,
binddn: "uid=proxy,dc=my,dc=domain",
password: "mypassword",
});

l.open(function(err) {
if (err)
console.log("l.open() => error=" + err);

l.close();
});
```