tabs in README
This commit is contained in:
parent
ed9c020fb8
commit
c9b10ce420
|
@ -11,10 +11,10 @@ For full docs, head on over to <http://ldapjs.org>.
|
||||||
server.search('dc=example', function(req, res, next) {
|
server.search('dc=example', function(req, res, next) {
|
||||||
var obj = {
|
var obj = {
|
||||||
dn: req.dn.toString(),
|
dn: req.dn.toString(),
|
||||||
attributes: {
|
attributes: {
|
||||||
objectclass: ['organization', 'top'],
|
objectclass: ['organization', 'top'],
|
||||||
o: 'example'
|
o: 'example'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (req.filter.matches(obj.attributes))
|
if (req.filter.matches(obj.attributes))
|
||||||
|
|
Loading…
Reference in New Issue