node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »


Node ldap elasticsearch

Convert ldap query (from ldapjs project) to elastic search query. With few code, you create a ldap server wich ask question to your elastic search index.

Imagine querying from your mail client to your intranet data stored in a classic storage (mysql, mongodb …)

What you can do

  • or, and, equality, substr filters

What you can't do

  • there is a bug with not
  • no authentification for now

What will never work

  • no equivalent for >= and <=

Install and test

npm install .

npm test


There is a simple example in the example/addressbook folder.


The example use elastical, but the query conversion is agnostic.