Skip to content

Simple node.js module to authenticate against an LDAP server

License

Notifications You must be signed in to change notification settings

nurcahyo/node-ldapauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple node.js lib to authenticate against an LDAP server.

Usage

var LdapAuth = require('ldapauth');
var options = {
    url: 'ldaps://ldap.example.com:663',
    adminDn: '...'
    
    ...
{
};
var auth = new LdapAuth(options);
...
auth.authenticate(username, password, function(err, user) { ... });
...
auth.close(function(err) { ... })

Install

npm install ldapauth

LdapAuth Config Options

Use the source Luke

About

Simple node.js module to authenticate against an LDAP server

Resources

License

Stars

Watchers

Forks

Packages

No packages published