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:
|
The code to create a new client looks like:
|
||||||
|
|
||||||
|
var ldap = require('ldapjs');
|
||||||
var client = ldap.createClient({
|
var client = ldap.createClient({
|
||||||
url: 'ldap://127.0.0.1:1389'
|
url: 'ldap://127.0.0.1:1389'
|
||||||
});
|
});
|
||||||
|
@ -143,8 +144,8 @@ pass in a single `Change` or an array of `Change` objects.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
var change = new Change({
|
var change = new ldap.Change({
|
||||||
type: 'add',
|
operation: 'add',
|
||||||
modification: {
|
modification: {
|
||||||
pets: ['cat', 'dog']
|
pets: ['cat', 'dog']
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue