Commit Graph

23 Commits

Author SHA1 Message Date
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 58f58883cd Add formatting option to ldapjs-search
- Update dashdash version to 1.7.0
- Support line delimited JSON and JSON arrays as alternative output
  formats in ldapjs-search.

Fix mcavage/node-ldapjs#224
2014-09-25 10:01:21 -05:00
Patrick Mooney b70bdaa26b Cleanup lint/cruft 2014-07-29 10:21:57 -05:00
Patrick Mooney b94a66916e Process entries sequentially in ldapjs-add
This more closely mimics the behavior of ldapadd when it processes LDIF
entries in the order they are listed in the file.
2014-07-29 10:09:03 -05:00
Patrick Mooney d665378c0e Improve client paged search handling
Search response objects now include more instrumentation and control when
automatically fetching paged results.  See the SearchPager documentation
for more details.

Fix mcavage/node-ldapjs#203
2014-07-24 15:41:24 -05:00
Patrick Mooney e30a5dab33 Fix scope option parsing in ldapjs-search util 2014-07-10 09:58:25 -05:00
Patrick Mooney c8e52f1e6e Fix ldapjs-modify CLI argument parsing 2014-07-01 16:05:13 -05:00
Patrick Mooney 8cd59a5a5d Alter usage message style
Use sections and env hints per trentm's suggestion.
2014-06-19 19:19:36 -05:00
Patrick Mooney 3e43fb3d0c Replace nopt with dashdash
- Use dashdash for arg parsing
- Add bin/ldapjs-* to jsl/jsstyle checks
- Fix code style issues

Fix mcavage/node-ldapjs#201
2014-06-18 18:42:49 -05:00
Trent Mick 55abc4c757 add '-i, --insecure' option and LDAPJS_TLS_INSECURE=1 envvar support to all ldapjs-* CLIs
This is required when using node 0.10 and talking to a ldaps://
LDAP server with a self-signed cert. Otherwise you get:

    $ ./ldapjs-search --url ldaps://ldap.example.com:636 ...
    DEPTH_ZERO_SELF_SIGNED_CERT
2014-04-22 17:46:16 -07:00
Pedro P. Candel 25ffb858ce We rather replace log4js with bunyan for binaries 2013-04-24 20:45:19 +02:00
Mark Cavage 51e6abf477 throw on invalid filter syntax 2012-10-11 20:04:10 +00:00
Jason Pincin 4de2aa3ed2 client-side support for paged search
Re-applied paged search work by thomasv, without introducing logging
changes.
2012-09-19 16:39:31 -04:00
Mark Cavage f7276475b9 GH-51 Timeout support in client library 2012-01-19 18:02:10 -08:00
Yunong Xiao f0e3a68a24 minor clean up 2011-12-20 15:07:07 -08:00
Yunong Xiao f4729032dd add persistent search to cli 2011-12-20 15:04:59 -08:00
Mark Cavage dc8d04e8e0 Don't require log4js in bin/* 2011-11-22 13:36:08 -08:00
Mark Cavage 95bc10934a Include CLI in npm bundle 2011-10-18 16:26:38 -07:00
Mark Cavage 24527b3630 ldapjs-compare 2011-10-18 13:49:48 -07:00
Mark Cavage 97e7ec627c ldapjs-modify command 2011-10-18 13:44:31 -07:00
Mark Cavage 062cdc31d1 add/search/delete CLI 2011-10-18 13:25:56 -07:00