Open gsf opened 11 years ago
Here is some documentation I found on the "scope" option:
http://www.idevelopment.info/data/LDAP/LDAP_Resources/SEARCH_Setting_the_SCOPE_Parameter.shtml
Looks like we actually could also set it to "one" -- which would show all items immediately one node beneath the search object ( with the search object being "ou=people,dc=ldap,dc=example,dc=com").
We no longer need db.js, or the autheremin dependency.
We should add a file, ldap.js with a dependency on ldapjs.
note these dependencies are in server.js and routes/validate.js. do we need them in server.js?
In integrating LDAP into auther we'll also have to rethink the tests. Can we stub this out in some way or should we run a fake LDAP server?
We don't need the autheremin reference in server.js (I've removed it). We won't need that "db.on('load')" business either.
So hey we got some LDAP working with a node.js library: