Allow configuration of derefAliases client option
Fix mcavage/node-ldapjs#134
This commit is contained in:
parent
6c8dbf9a29
commit
f213b3e9a2
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
## CURRENT
|
## CURRENT
|
||||||
|
|
||||||
|
- #134 Allow configuration of derefAliases client option
|
||||||
- #197 Properly dispatch unbind requests
|
- #197 Properly dispatch unbind requests
|
||||||
- #196 Handle string ports properly in server.listen
|
- #196 Handle string ports properly in server.listen
|
||||||
- Request routing overhaul
|
- Request routing overhaul
|
||||||
|
|
|
@ -667,7 +667,7 @@ Client.prototype.search = function search(base, options, controls, callback) {
|
||||||
baseObject: typeof (base) === 'string' ? dn.parse(base) : base,
|
baseObject: typeof (base) === 'string' ? dn.parse(base) : base,
|
||||||
scope: options.scope || 'base',
|
scope: options.scope || 'base',
|
||||||
filter: options.filter,
|
filter: options.filter,
|
||||||
derefAliases: Protocol.NEVER_DEREF_ALIASES,
|
derefAliases: options.derefAliases || Protocol.NEVER_DEREF_ALIASES,
|
||||||
sizeLimit: options.sizeLimit || 0,
|
sizeLimit: options.sizeLimit || 0,
|
||||||
timeLimit: options.timeLimit || 10,
|
timeLimit: options.timeLimit || 10,
|
||||||
typesOnly: options.typesOnly || false,
|
typesOnly: options.typesOnly || false,
|
||||||
|
|
Loading…
Reference in New Issue