ldaptive

0.0.3 • Public • Published

ldaptive

A www.ldaptive.org fork.

$ npm install ldaptive

how to

const Ldaptive = require('ldaptive');
 
 
const CONFIG = {
  url: 'ldap://ldap.forumsys.com',
  baseDN: 'dc=example,dc=com',
  attributes: ['uid', 'cn', 'sn', 'mail', 'telephoneNumber'],
};
 
 
const client = new Ldaptive(CONFIG);
 
 
client.search('(mail=*@ldap.forumsys.com)').then(function (entries) {
  console.log(entries);
});

Special Thanks to Online LDAP Test Server from forumsys

fixme

  1. ldap-filter 2 .vasync

refer

  1. https://github.com/jeremycx/node-LDAP
  2. https://github.com/ymyang/node-ldap

MIT LICENSE

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    1
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i ldaptive

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • hbrls