Blizzard/node-ldapjs

Name: node-ldapjs

Owner: Blizzard Entertainment

Description: LDAP Client and Server API for node.js

Forked from: joyent/node-ldapjs

Created: 2017-03-11 01:24:11.0

Updated: 2017-08-13 20:02:42.0

Pushed: 2017-03-11 01:27:19.0

Homepage: http://ldapjs.org

Size: 1636

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

LDAPjs

'Build status'

LDAPjs makes the LDAP protocol a first class citizen in Node.js.

Usage

For full docs, head on over to http://ldapjs.org.

ldap = require('ldapjs');

server = ldap.createServer();

er.search('dc=example', function(req, res, next) {
r obj = {
dn: req.dn.toString(),
attributes: {
  objectclass: ['organization', 'top'],
  o: 'example'
}


 (req.filter.matches(obj.attributes))
s.send(obj);

s.end();


er.listen(1389, function() {
nsole.log('ldapjs listening at ' + server.url);

To run that, assuming you've got the OpenLDAP client on your system:

ldapsearch -H ldap://localhost:1389 -x -b dc=example objectclass=*
Installation
npm install ldapjs
License

MIT.

Bugs

See https://github.com/mcavage/node-ldapjs/issues.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.