Commit Graph

427 Commits

Author SHA1 Message Date
James Sumners 2e2a0783bf
Create new instances of the null logger to remove potential side effects 2019-08-24 21:04:23 -04:00
James Sumners e9e8033fda
Remove dependency on Bunyan 2019-08-24 20:51:40 -04:00
James Sumners 365365c7c7
Merge pull request #468 from farheen14aslam/master
Updating the package.json to use new ldap-filter module
2019-08-24 20:46:33 -04:00
Farheen.aslam b9458f1e89 Updating the package.json to use new ldap-filter module 2018-02-12 09:49:11 +05:30
Jason McKee ad451edc18
Update Travis CI urls 2018-01-27 15:15:33 -05:00
Cody Peter Mello a4bdcbb764 Release v1.0.2 2018-01-11 18:38:32 +00:00
Patrick Mooney 988467911c Release v1.0.1 2016-11-01 22:28:21 -05:00
Xotl c92ad87e47 Update documentation about paged option 2016-10-18 22:36:59 -05:00
Philipp Tusch 0e91a06137 Remove useless console.log 2016-10-18 22:32:50 -05:00
Patrick Mooney 2a9ce5515d Update Travis targets 2016-10-18 22:28:34 -05:00
Patrick Mooney bc1e3146e1 Update package dependencies 2016-10-18 22:25:14 -05:00
Jan Viktor Apel 7059cf6b8a Fix documentation for search paging 2016-03-20 17:39:27 -05:00
Vincent van der Weele bb2d018b2c Emit error object in case of ConnectionError 2016-03-16 17:01:26 +02:00
Patrick Mooney 540a3a1f5c Clean up asserts and getters in controls 2015-11-11 22:38:56 -06:00
Patrick Mooney 69c72dc45f Clean up DN asserts and tests 2015-11-02 22:55:25 -06:00
Patrick Mooney dcce6ebe1e Clean up getters/setters in errors 2015-11-02 22:31:02 -06:00
Patrick Mooney df43cab12d Clean up getters/setters and asserts in messages 2015-10-31 12:28:25 -05:00
Patrick Mooney cefd6f484d Move Change getters/setters to prototype 2015-10-31 09:50:23 -05:00
Patrick Mooney 5b8cbb755b Fix strict DN parsing in server 2015-10-31 09:03:53 -05:00
Patrick Mooney e8607819e2 Move server getters/setters to prototype 2015-10-31 08:34:51 -05:00
Patrick Mooney 954231d358 Minor docs updates 2015-10-27 22:02:56 -05:00
Patrick Mooney bdbff63bc0 Expose Client as top-level export 2015-10-27 21:53:15 -05:00
Patrick Mooney ccfd821700 Fix style/lint issues 2015-10-27 21:27:47 -05:00
Chris Broome 05445cb6ec Move Attribute getters/setters into prototype 2015-10-27 21:02:13 -05:00
Patrick Mooney aab28a22dc Improve documentation for search paging 2015-10-27 01:17:12 -05:00
Patrick Mooney 9303d4f624 Prepare for 1.0.0 release 2015-10-22 20:58:19 -05:00
Patrick Mooney 69eb6d9038 More docs clean-up 2015-10-16 00:33:46 -05:00
Patrick Mooney 622b7486f7 First steps toward updating the docs 2015-10-16 00:25:49 -05:00
Patrick Mooney 9ec1e9022d Update package dependencies 2015-10-15 22:00:04 -05:00
Patrick Mooney c10a1a6faf Clean up client handling of end/error for searches 2015-10-15 21:49:34 -05:00
Patrick Mooney acc1ca8f43 Match objectClass case-insensitively in EqualityFilter
Fix mcavage/node-ldapjs#277
2015-06-29 20:20:06 -05:00
Patrick Mooney 000959d888 Remove node 0.8 testing from travis config
Node.js 0.8 is still supported but istanbul and friends now have
dependencies that balk.  The tests can still be run manually.
2015-06-14 21:22:24 -05:00
Patrick Mooney 64ad0bf5da Update package dependencies 2015-06-14 21:22:10 -05:00
Patrick Mooney fbdf70e424 Add license to package.json 2015-06-14 20:57:58 -05:00
Patrick Mooney 1376e593a6 Remove special attribute formatting for objectGUID
- Conclude mcavage/node-ldapjs#218
- Clean up exports in index.js
2015-06-14 20:57:47 -05:00
Patrick Mooney 3ca7e6d98f Allow startTLS during client setup 2015-05-24 19:56:16 -05:00
Patrick Mooney 821569c2c4 Implement client-side StartTLS support 2015-05-13 22:26:42 -05:00
Patrick Mooney ec062d370c Improve empty DN handling
- Use more strict comparisons for client input asserts
- Fix baseObject comparison in SearchRequest initialization
- Alter default error for server route fallthrough
2015-04-25 20:53:50 -05:00
Matt Simerson 19f2c16783 Allow simple client bind with empty credentials
Fix mcavage/node-ldapjs#254
2015-04-13 23:40:58 -05:00
Patrick Mooney 773a1c6fd2 Remove String.prototype modifications
Fix mcavage/node-ldapjs#257
2015-03-18 15:14:53 -05:00
Patrick Mooney 91f523af87 Update Travis config to test node 0.12 2015-02-18 11:11:14 -06:00
Patrick Mooney cab9f0bf45 Fix package.json for node 0.8 compatibility 2015-02-18 11:07:58 -06:00
Patrick Mooney b71c001ec6 Update dependencies for node compatibility 2015-02-18 09:30:13 -06:00
Patrick Mooney ffe5a16604 Add missing dtrace probes for abandon events 2015-02-18 09:17:23 -06:00
Patrick Mooney 495ea2afce Overhaul DN parsing and formatting
Certain applications depend upon DN string formatting in a manner more
strict than specified in the RFC.  To enable format transcription and
reproduction, some changes were made to how DNs are converted to/from
strings.

- Store RDN strings raw instead of escaped
- Record formatting details during DN/RDN parsing
- Add DN.format method to control format recreation
- Remove DN.spaced method in favor of DN.setFormat

Fix mcavage/node-ldapjs#176
2015-02-17 15:35:06 -06:00
Patrick Mooney 22b04f3a94 Move filter parsing into separate module 2014-10-16 17:00:14 -05:00
Patrick Mooney 9b8244e568 Fix style error in ldapjs-search util 2014-10-16 16:14:28 -05:00
Kyle P Davis 6f58387688 Ignore EPIPE errors in ldapjs-search
Fix mcavage/node-ldapjs#225
2014-10-02 10:07:15 -05:00
Patrick Mooney 5683bf036e Disable strictDN on cli utilities 2014-09-30 19:00:35 -05:00
Patrick Mooney 408e7c9f99 Support invalid DNs in client/server
Some LDAP implementations (mainly AD and Outlook) accept and/or output
DNs that are not valid.  To support interaction with these invalid DNs a
strictDN flag (default: true) has been added to the client and server
constructors.  Setting this flag to false will allow use of
non-conforming DNs.

When disabling strictDN in the ldapjs client, strings which wouldn't
parse into a DN can then be passed to the ldap operation methods.  It
also means that some methods (such as search) may return results with
string-formatted DNs instead of DN objects.

When disabling strictDN in the ldapjs server, incoming requests that
contain invalid DNs will be routed to the default ('') handler for that
operation type.  It is your responsiblity to differentiate between
string-type and object-type DNs in those handlers.

Fix mcavage/node-ldapjs#222
Fix mcavage/node-ldapjs#146
Fix mcavage/node-ldapjs#113
Fix mcavage/node-ldapjs#104
2014-09-30 18:39:19 -05:00