nevilleburnell / ADAuthFTW

Simple Active Directory authentication Node.JS Module (WINDOWS Only)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ADAuthFTW - Simple Active Directory Authentication - by Fosco Marotto (gfosco@gmail.com)

Work in Progress... Currently supports simple authentication against an Active Directory server.

This is the package for the C++/.NET Node Module.  The Debug folder holds the current working output, and example code in the /example folder.

usage example:

var ad = new (require('./adauthftw').adauthftw)();

ad.auth('LDAP://whatever.domain.com/DC=DOMAIN,DC=com',
  'testuser',
  'testpass', 
  function (err, result) {
    if (result) {
      console.log('Authentication successful');
    } else {
      console.log('Authentication failed.');
    }
});





Credits: 
* saary - node.net module example. https://github.com/saary/node.net

About

Simple Active Directory authentication Node.JS Module (WINDOWS Only)