Commit Graph

213 Commits

Author SHA1 Message Date
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 aedd9f222c GH-28 Support extensible filters (client only) 2011-11-08 16:12:48 -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 fdd3184420 remove extraneous console.log 2011-11-07 17:24:56 -08:00
Mark Cavage 8c212908a0 more dn/server cleanup 2011-11-07 17:23:38 -08:00
Mark Cavage 28ddaaad69 Minor cleanup of server handling and null DNs 2011-11-07 17:12:59 -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 5cf425de72 Fill in c.remoteAddress for TLS connections 2011-11-07 12:05:45 -08:00
Mark Cavage b8799d6a1e Don't be so strict about dn methods requiring a DN instance 2011-10-20 11:22:31 -07: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 03dad8c9a1 SSL server looking for certificate, not cert 2011-10-18 10:15:14 -07:00
Mark Cavage e0007f6f6a new DN methods 2011-10-18 08:50:44 -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 2a41abbff8 GH-21: Write attribute values as raw binary, rather than as strings 2011-10-11 15:24:00 -07:00
Mark Cavage c20030f5bb GH-21 Support for binary attributes 2011-10-11 13:56:16 -07:00
Mark Cavage 9610cbe9d3 GH-24: support clients asking for * in attribute search selection list 2011-10-11 11:39:56 -07:00
Mark Cavage 7dbeca1fdd GH-23 case insensitive attribute filtering in searchResponse.send() 2011-10-11 10:43:27 -07:00
Mark Cavage 7763cf3789 GH-22: Client should preserve attribute type casing 2011-10-04 10:27:43 -07:00
Mark Cavage 01a6cfb77e GH-14: Support null/empty attribute values 2011-09-30 10:48:56 -07:00
Mark Cavage 12356c5628 GH-20 case insensitive treatment of attribute names in a DN 2011-09-29 14:46:10 -07:00
Mark Cavage 1105b47293 Allow empty dns in search (e.g., enable rootDSE searches) 2011-09-29 09:35:53 -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 e2cac51a29 GH-18: Server not handling unknown message types gracefull 2011-09-26 13:47:33 -07:00
Mark Cavage c57470804c gracefully handle parsing attributes with no values 2011-09-23 15:47:02 -07:00
Mark Cavage a515652ac7 GH-17 invalid exop mountpoints crash server 2011-09-23 09:00:28 -07:00
Mark Cavage be3d5fa7fa GH-16: dn.equals broken on empty strings 2011-09-23 08:54:48 -07:00
Mark Cavage d2d99d14a6 Change constructor to match docs 2011-09-23 08:48:17 -07:00
Mark Cavage 16597d5632 CompareResponse.end() not working correctly with non-numeric codes 2011-09-21 17:35:19 -07:00
Mark Cavage 9b67dc608a substring filter fixes for clients 2011-09-19 12:24:16 -07:00
Mark Cavage ed1ae29054 search.send option to not filter out any attributes 2011-09-16 09:06:35 -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 0e77b69dc0 Server after chain support, and minor metrics 2011-09-13 14:49:21 -07:00
Mark Cavage e365d40c8d Refactor DTrace handlers to support a backend object 2011-09-09 13:40:25 -07:00
Mark Cavage 5fe70eb739 Merge branch 'dtrace' 2011-09-02 22:10:01 -04: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
Jeff Huff e99ee3c75e Changed log_stub format to increment the UTC month number because UTC is 0 - 11 not 1 - 12 month numbers 2011-08-30 21:04:43 -07:00
Mark Cavage 7aa1bfe586 DTrace rework; now supporting a conn/message specific ID so you can track latency 2011-08-30 18:12:34 +00:00
Mark Cavage 7f43ade50b Initial DTrace prototype 2011-08-30 04:48:05 +00:00
Mark Cavage 695f2e4367 Initial DTrace prototype 2011-08-29 17:24:50 -07:00
Mark Cavage ff7aed39fd Fix up client to work in all cases (UDS and TCP) 2011-08-26 16:33:49 -07:00
Jeff Huff 839941d75f Changed the scheme check order so that the default port can default for both ldap and ldaps 2011-08-26 15:07:10 -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 d33e7cc26a Docs and anonymous bind support 2011-08-24 12:38:23 -07:00
Mark Cavage 7859f34b8a docs for dns, errors, filters and server, and minor fixes found along the way 2011-08-23 16:25:07 -07:00
Mark Cavage 7198c0a516 docs, and minor enhancements to compare/search apis 2011-08-22 17:16:36 -07:00
Mark Cavage 73f913b2c4 Search filter transformer based on schema 2011-08-22 10:48:45 -07:00
Mark Cavage 11fbda69e7 Schema support for add/mofify 2011-08-19 15:08:45 -07:00
Mark Cavage 51f944d834 dn parentof/childof fixes 2011-08-15 17:52:05 -07:00
Mark Cavage c8ea58fc60 modifyDN touchups 2011-08-15 13:50:15 -07:00
Mark Cavage 120e0011a3 Rework server mount APIs 2011-08-15 09:44:31 -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 add3e1a0d6 search enhancements 2011-08-10 14:46:04 -07:00
Mark Cavage 44bd29952e attribute was lowercasing vals, not attr name 2011-08-10 10:57:58 -07:00
Mark Cavage a1fa0e46b1 Lame schema validator (not rfc compatible) 2011-08-08 10:29:01 -05:00
Mark Cavage 05be0dd966 Sorted attributes/changes in add/modify requests 2011-08-08 10:03:00 -05: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