Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 29 lines (17 sloc) 0.73 kB
7bcfc54 @gfosco Initial commit
authored
1 ADAuthFTW - Simple Active Directory Authentication - by Fosco Marotto (gfosco@gmail.com)
2
3 Work in Progress... Currently supports simple authentication against an Active Directory server.
4
5 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.
6
7 usage example:
8
9 var ad = new (require('./adauthftw').adauthftw)();
10
11 ad.auth('LDAP://whatever.domain.com/DC=DOMAIN,DC=com',
12 'testuser',
13 'testpass',
14 function (err, result) {
15 if (result) {
16 console.log('Authentication successful');
17 } else {
18 console.log('Authentication failed.');
19 }
20 });
21
22
23
24
25
26 Credits:
27 * saary - node.net module example. https://github.com/saary/node.net
28
Something went wrong with that request. Please try again.