🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

ldapjs-riak

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldapjs-riak

A Riak backend for ldapjs (server).

0.2.5
latest
Source
npm
Version published
Weekly downloads
4
-89.19%
Maintainers
1
Weekly downloads
 
Created
Source

A fully backend for ldapjs built over Riak.

Usage

var ldap = require('ldapjs');
var ldapRiak = require('ldapjs-riak');

var SUFFIX = 'o=example';

var server = ldap.createServer();
var backend = ldapRiak.createBackend({
  "host": "localhost",
  "port": 8098,
  "bucket": "o_example",
  "indexes": ["l", "cn"],
  "uniqueIndexes": ["uid"],
  "numConnections": 5
});

server.add(SUFFIX, backend, backend.add());
server.modify(SUFFIX, backend, backend.modify());
server.bind(SUFFIX, backend, backend.bind());
server.compare(SUFFIX, backend, backend.compare());
server.del(SUFFIX, backend, backend.del());
server.search(SUFFIX, backend, backend.search(searchSalt));

server.listen(config.port, config.host, function() {
  console.log('ldap-riak listening at: %s', server.url);
});

More docs to follow...

Installation

npm install ldapjs-riak

License

MIT.

Bugs

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

FAQs

Package last updated on 09 Jan 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts