Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Uhhh...

  • Loading branch information...
commit 9365d0227d1ccc05da1e17d7763b7fef95762035 1 parent caf3e99
@joewalnes authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 example/example.js
View
10 example/example.js 100755 → 100644
@@ -3,12 +3,12 @@
var sys = require('sys'),
ldapauth = require('../ldapauth'); // Path to ldapauth.node
-var ldap_host = 'chidc.us.drwholdings.com',
+var ldap_host = 'some.ldap.server',
ldap_port = 389,
- username = 'US\\jfriedman',
- password = 'dumb9croc'
- base = "OU=Accounts,DC=US,DC=DRWHoldings,DC=com",
- filter = "(&(objectclass=user)(sAMAccountName=greeves))";
+ username = 'SOMEDOMAIN\\SOMEUSER',
+ password = 'SOMEPASS'
+ base = "OU=FOO,DC=US,DC=BAR,DC=com",
+ filter = "(&(objectclass=user)(sAMAccountName=someone))";
ldapauth.search(ldap_host, ldap_port, username, password, base, filter,
function(err, result) {
Please sign in to comment.
Something went wrong with that request. Please try again.