Trent Mick
e825615d9e
Fix client 'connect' event being send when using tls.
...
With `tls.connect()` the socket connect event is 'secureConnect' instead
of 'connect'.
2012-04-13 15:42:58 -07:00
Yunong Xiao
5135da4b6a
fixed style.
2012-02-23 16:02:52 -08:00
Yunong Xiao
116bedb487
Add persistent search cache, minor bug fix to client
2012-02-23 15:21:17 -08:00
Mark Cavage
9819353042
Client refactoring. Cut reconnect logic and force users to listen for connect event.
2012-02-18 14:58:40 -08:00
Mark Cavage
7ff50f43f4
Initial switch to bunyan
2012-02-18 08:54:22 +00:00
Mark Cavage
afeb354eac
Initial setup for 0.5 (use eng.git layout)
2012-02-18 08:15:52 +00:00
Mark Cavage
b47b208e5d
GH-55 Client emits connect event multiple times
2012-01-30 08:45:01 -08:00
Mark Cavage
a499a7cfd5
Addition of javascriptlint
2012-01-24 09:43:46 -08:00
Mark Cavage
f7276475b9
GH-51 Timeout support in client library
2012-01-19 18:02:10 -08:00
Mark Cavage
44a9d87863
GH-49 Allow options.attributes = "dn" in client.search
2012-01-19 15:39:16 -08:00
Yunong Xiao
2240f29cc3
"refactored controls into its own directory, minor bug fixes"
2011-12-08 11:22:35 -08:00
Mark Cavage
eac2f95517
Client logging undefined
2011-11-28 10:39:07 -08:00
Mark Cavage
caf258a4f7
GH-35 reference error in client connect()
2011-11-14 09:23:33 -08:00
Mark Cavage
868c46bde4
GH-26 rewrite network parser
2011-11-11 10:09:20 -08:00
Mark Cavage
6b6eaadf6d
GH-33 Allow non-DN binds for AD
2011-11-09 14:57:22 -08:00
Mark Cavage
df159475c8
reconnect cleanup
2011-11-09 14:55:13 -08:00
Mark Cavage
8fdff3e06d
Better handling of disconnect/reconnect over TLS and Plain sockets
2011-11-09 14:44:12 -08:00
Mark Cavage
920b9e00f4
GH-31 allow changing multiple fields in a single ldap_modify with better object sytnax
2011-11-08 13:31:00 -08:00
Mark Cavage
35f6b8a6c7
GH-30 Handle unbinds more gracefully
2011-11-08 13:10:39 -08:00
Mark Cavage
75aba691f1
GH-27 Support for abandon operations client side, and noop it server side
2011-11-07 14:14:01 -08:00
Mark Cavage
a80758b917
Minor client argument fixes, and broken search response send() with no filtering option
2011-10-18 12:31:52 -07:00
Mark Cavage
ccff51804a
Refactor search_response.send() so that hidden variable magic works
2011-10-17 16:37:09 -07:00
Mark Cavage
f4b49a20ae
GH-14: Client needs to handle search references
2011-09-27 11:49:33 -07:00
Mark Cavage
50a0c59d1f
Client reconnect logic
2011-09-26 16:45:49 -07:00
Mark Cavage
73b14ea8ad
support for client controls
2011-09-16 09:06:07 -07:00
Mark Cavage
fcec8d626f
handle objectclass as lower case vals in add/search, error handling cleanup and some minor fixes
2011-09-15 14:49:00 -07:00
Mark Cavage
0be6fc9dcb
GH-10: Client not interacting with AD, and has bad socket.connect() calls
2011-09-02 09:29:42 -04:00
Mark Cavage
ff7aed39fd
Fix up client to work in all cases (UDS and TCP)
2011-08-26 16:33:49 -07:00
Joe Walnes
e483f428b4
Fix error from missing tls.createConnection() method:
...
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object #<Object> has no method 'createConnection'
at newConnection (/usr/local/lib/node/.npm/ldapjs/0.1.0/package/lib/client.js:142:15)
at new Client (/usr/local/lib/node/.npm/ldapjs/0.1.0/package/lib/client.js:223:27)
at Object.createClient (/usr/local/lib/node/.npm/ldapjs/0.1.0/package/lib/index.js:48:12)
2011-08-26 15:44:13 -05:00
Joe Walnes
84b1926aac
Fixes connection error:
...
-----------------
2011-07-26 17:17:17Z WARN - Client: 1.2.3.4 unexpected connection error Error: EINVAL, Invalid argument
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: EINVAL, Invalid argument
at doConnect (net.js:555:5)
at Socket.connect (net.js:715:5)
at Object.createConnection (net.js:265:5)
at newConnection (/usr/local/lib/node/.npm/ldapjs/0.1.0/package/lib/client.js:145:15)
at new Client (/usr/local/lib/node/.npm/ldapjs/0.1.0/package/lib/client.js:222:27)
at Object.createClient (/usr/local/lib/node/.npm/ldapjs/0.1.0/package/lib/index.js:48:12)
at Object.<anonymous> (/home/jwalnes/dev/ldap/auth.js:7:19)
at Module._compile (module.js:402:26)
at Object..js (module.js:408:10)
at Module.load (module.js:334:31)
2011-08-26 15:35:01 -05:00
Mark Cavage
7198c0a516
docs, and minor enhancements to compare/search apis
2011-08-22 17:16:36 -07:00
Mark Cavage
11fbda69e7
Schema support for add/mofify
2011-08-19 15:08:45 -07:00
Mark Cavage
dda17ef190
lots of fixes. committing the last few days of work. (my commit messages are useless right now)
2011-08-12 16:37:47 -07:00
Mark Cavage
7706cd5e4e
Refactoring server into something less sucky
2011-08-06 15:44:26 -05:00
Mark Cavage
1042048aaf
Allow plain JS objects in client APIs where it makes sense
2011-08-04 14:25:12 -07:00
Mark Cavage
ca1443f102
Initial working client/server version
2011-08-04 13:32:01 -07:00