ldapjs
LDAP client and server APIs
Last updated 5 years ago by tonybrix .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ldapjs 
SYNC missed versions from official npm registry.

LDAPjs

Build Status Coverage Status

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

Usage

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

var ldap = require('ldapjs');

var server = ldap.createServer();

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

  if (req.filter.matches(obj.attributes))
  res.send(obj);

  res.end();
});

server.listen(1389, function() {
  console.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

DTrace support is included in ldapjs. To enable it, npm install dtrace-provider.

License

MIT.

Bugs

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

Current Tags

  • 0.8.0                                ...           compat (10 years ago)
  • 2.3.1                                ...           latest (5 years ago)
  • 2.0.0-pre.5                                ...           next (6 years ago)

69 Versions

  • 2.3.1                                ...           5 years ago
  • 2.3.0                                ...           5 years ago
  • 2.2.4                                ...           5 years ago
  • 2.2.3                                ...           5 years ago
  • 2.2.2                                ...           5 years ago
  • 2.2.1                                ...           5 years ago
  • 2.2.0                                ...           6 years ago
  • 2.1.1                                ...           6 years ago
  • 2.1.0                                ...           6 years ago
  • 2.0.0                                ...           6 years ago
  • 2.0.0-pre.5                                ...           6 years ago
  • 2.0.0-pre.4                                ...           6 years ago
  • 2.0.0-pre.3                                ...           6 years ago
  • 2.0.0-pre.2                                ...           7 years ago
  • 2.0.0-pre.1                                ...           7 years ago
  • 1.0.2                                ...           8 years ago
  • 1.0.1                                ...           9 years ago
  • 0.8.0                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
  • 0.7.1                                ...           12 years ago
  • 0.7.0                                ...           12 years ago
  • 0.6.3                                ...           13 years ago
  • 0.6.2                                ...           13 years ago
  • 0.6.1                                ...           13 years ago
  • 0.6.0                                ...           13 years ago
  • 0.5.8                                ...           13 years ago
  • 0.5.7                                ...           14 years ago
  • 0.5.6                                ...           14 years ago
  • 0.5.5                                ...           14 years ago
  • 0.5.4                                ...           14 years ago
  • 0.5.3                                ...           14 years ago
  • 0.5.2                                ...           14 years ago
  • 0.5.1                                ...           14 years ago
  • 0.5.0                                ...           14 years ago
  • 0.4.8                                ...           14 years ago
  • 0.4.7                                ...           14 years ago
  • 0.4.6                                ...           14 years ago
  • 0.4.5                                ...           14 years ago
  • 0.4.4                                ...           14 years ago
  • 0.4.3                                ...           14 years ago
  • 0.4.2                                ...           14 years ago
  • 0.4.1                                ...           14 years ago
  • 0.4.0                                ...           14 years ago
  • 0.3.6                                ...           14 years ago
  • 0.3.5                                ...           14 years ago
  • 0.3.4                                ...           14 years ago
  • 0.3.3                                ...           14 years ago
  • 0.3.2                                ...           14 years ago
  • 0.3.1                                ...           14 years ago
  • 0.3.0                                ...           14 years ago
  • 0.2.8                                ...           14 years ago
  • 0.2.7                                ...           14 years ago
  • 0.2.6                                ...           14 years ago
  • 0.2.5                                ...           14 years ago
  • 0.2.4                                ...           14 years ago
  • 0.2.3                                ...           14 years ago
  • 0.2.2                                ...           14 years ago
  • 0.2.1                                ...           14 years ago
  • 0.2.0                                ...           14 years ago
  • 0.1.9                                ...           15 years ago
  • 0.1.8                                ...           15 years ago
  • 0.1.7                                ...           15 years ago
  • 0.1.6                                ...           15 years ago
  • 0.1.5                                ...           15 years ago
  • 0.1.4                                ...           15 years ago
  • 0.1.3                                ...           15 years ago
  • 0.1.2                                ...           15 years ago
  • 0.1.1                                ...           15 years ago
  • 0.1.0                                ...           15 years ago
Downloads
Today 0
This Week 0
This Month 42
Last Day 0
Last Week 42
Last Month 0
Dependencies (8)
Dev Dependencies (11)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |