commit
060bb2c55b
|
@ -15,6 +15,7 @@ with LDAP. If you're not, read the [guide](http://ldapjs.org/guide.html) first.
|
|||
|
||||
The code to create a new client looks like:
|
||||
|
||||
var ldap = require('ldapjs');
|
||||
var client = ldap.createClient({
|
||||
url: 'ldap://127.0.0.1:1389'
|
||||
});
|
||||
|
@ -143,8 +144,8 @@ pass in a single `Change` or an array of `Change` objects.
|
|||
|
||||
Example:
|
||||
|
||||
var change = new Change({
|
||||
type: 'add',
|
||||
var change = new ldap.Change({
|
||||
operation: 'add',
|
||||
modification: {
|
||||
pets: ['cat', 'dog']
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue