emiel
6b5548ffd2
This commit is all about moving toward 'Hoe' as the project helper.
...
$ gem install hoe
To get there the following has been done:
* Adhere to hoe naming conventions.
* Migrate and update tests.
* Consolidate and update documentation.
* Prepare History.txt for release.
* And I probably forgot something...
2008-11-14 23:22:30 +00:00
blackhedd
e6cccef627
added clarifying documentation parameters to #bind.
2007-10-23 12:31:58 +00:00
blackhedd
b828ff52cf
Changed error classes to inherit from StandardError instead of Exception.
...
This should make them easier to use with irb.
2007-09-04 12:07:35 +00:00
blackhedd
6e53144090
supported comma in filter strings, suggested by Kouhei.
2007-08-26 09:28:37 +00:00
blackhedd
089abcceb2
Applied patch from Kouhei Sutou
2007-08-11 01:26:06 +00:00
blackhedd
d0c877bcd5
Patch by Kouhei Sutou, enables support of \XX octal filter syntax
2007-06-20 12:31:37 +00:00
blackhedd
3f7a4a254d
applied parentheses to quiet some -w warnings.
2007-05-18 21:50:22 +00:00
blackhedd
64a8240ae0
Bugfix. Net::LDAP#bind was ignoring the inbound auth parameter.
...
Thanks to Kouhei Sutou for spotting this and pointing it out.
2007-05-07 03:43:32 +00:00
blackhedd
2769d75b01
Added Net::LDAP::Filter.execute, which enables applications to perform
...
arbitrary processing based on LDAP filters.
2007-05-06 20:27:28 +00:00
blackhedd
da882af074
Added Net::LDAP::Filter.parse_ber and associated helper methods and tests.
2007-05-05 02:44:32 +00:00
blackhedd
bc1129fcf1
tweaked subschema query to comply with RFC 4512 pgh 4.4.
2007-05-02 18:25:34 +00:00
blackhedd
8cfb4a13b6
more comment tweaks
2007-05-02 10:44:58 +00:00
blackhedd
105fb102d5
let's get it right for a change
2007-05-02 10:21:39 +00:00
blackhedd
acfa64d159
fixed grammar error in doc.
2007-05-02 10:17:46 +00:00
blackhedd
18699c9ac2
comments and docs for Net::LDAP#Search_subschema_entry
2007-05-02 10:15:15 +00:00
blackhedd
95d86ea6c3
added Net::LDAP#search_subschema_entry
2007-05-02 10:10:19 +00:00
blackhedd
55c6d2efe9
fixed error in BER encoding.
2007-05-02 02:59:38 +00:00
blackhedd
d483a345af
Added a patch by Kouhei Sutou which supports start_tls encryption.
2007-05-02 02:32:14 +00:00
blackhedd
ae298d2865
added extended error reporting to Connection#modify
2007-03-20 18:56:23 +00:00
blackhedd
033bc22ee4
added some additional comments
2007-03-20 18:30:52 +00:00
blackhedd
789b36c9d7
extended our support for error messages returned from servers.
2007-03-20 18:28:34 +00:00
blackhedd
17dcc52e05
changed Entry::to_ldif so it doesn't interpret blanks as binary characters.
2007-03-17 02:35:41 +00:00
blackhedd
79f3ec6e0d
comments
2006-12-21 16:04:25 +00:00
blackhedd
f6c87c02fc
fixed mispelling: TimerTicks is now TimeTicks.
2006-12-21 15:09:29 +00:00
blackhedd
0d9206d602
added Net::BER::BerIdentifiedOid type and related tests
2006-12-19 18:27:57 +00:00
blackhedd
2ef2176f14
fixed bug
2006-12-19 18:15:40 +00:00
blackhedd
40b5554389
tweaked get-response parsing
2006-12-18 20:36:41 +00:00
blackhedd
977f276191
fixed small bug, missing case in PDU parser
2006-12-18 20:16:32 +00:00
blackhedd
765988a57b
supported parsing of get-response packets
2006-12-18 19:56:50 +00:00
blackhedd
eac464bcb9
added some SNMP app-specific types and cleaned up some BER-encoding problems
...
with integers.
2006-12-17 19:04:41 +00:00
blackhedd
e550dc80ab
missed a case
2006-12-15 18:37:09 +00:00
blackhedd
5f197cc040
fixed the implementation of Bignum#to_ber.
2006-12-15 18:29:26 +00:00
blackhedd
0bf35f8d3e
additional packet formats supported
2006-12-15 16:15:06 +00:00
blackhedd
3f14b54014
added some more test cases
2006-12-15 14:12:02 +00:00
blackhedd
19452a6206
development on snmp
2006-12-15 13:55:13 +00:00
blackhedd
cf82f83ddf
added a #to_ber method to BerIdentifiedNull, which handles ASN.1 NULL objects.
2006-12-15 13:54:50 +00:00
blackhedd
c49e1f0c94
SNMP GetRequest parsing
2006-12-15 11:22:41 +00:00
blackhedd
79e59cf3aa
initial dev
2006-12-15 10:37:27 +00:00
blackhedd
f6cb105444
oops. Fixed private.
2006-12-08 16:10:37 +00:00
blackhedd
db1894a5c0
Added Array#to_ber_oid.
2006-12-08 16:03:24 +00:00
blackhedd
65b446c586
fixed Fixnum#to_ber when the value is zero
2006-12-08 15:53:02 +00:00
blackhedd
11d8152d1b
re-implemented Fixnum#to_ber, which was wrongly implemented.
...
The new version still doesn't fix representations of negative values.
2006-12-08 15:47:23 +00:00
blackhedd
1d1a1a6f7d
DRY violated
2006-12-08 14:48:57 +00:00
blackhedd
6860965651
supported translation of the X.690 OID representation.
...
More useful for SNMP than for LDAP.
2006-12-08 10:40:17 +00:00
blackhedd
8dfbf21302
supported univeral BER types 5 (NULL) and 6 (OID)
2006-12-08 08:39:13 +00:00
blackhedd
7fe954f199
Supported some additional BER encodings.
2006-11-29 18:09:14 +00:00
blackhedd
2ee2a551b1
Added syntax support for SearchFilter ANDs and ORs.
2006-11-29 13:42:21 +00:00
blackhedd
4b110ff886
Added String#read_ber!
2006-11-27 23:09:18 +00:00
blackhedd
4db9f2c7cc
Added a more-disciplined version of #read_ber.
2006-11-27 23:07:24 +00:00
blackhedd
832334116a
Supported BindRequest, SearchRequest, and UnbindRequest
2006-11-27 22:59:03 +00:00
blackhedd
fad144bcbc
Supported ASN NULL objects. Kindof trivial but nice for completeness.
2006-11-27 22:57:17 +00:00
blackhedd
e001f0413e
Added syntax support for UnbindRequest bodies.
2006-11-27 22:56:13 +00:00
blackhedd
1748afac24
added blanks to the attribute filter in Filter#construct
2006-10-27 00:14:21 +00:00
blackhedd
239752408d
removed a duplicate entry
2006-10-27 00:04:47 +00:00
blackhedd
7e32ba177c
improved the SASL authentication method, and added a simple accessor for
...
MS/AD authentication via GSS-SPNEGO.
2006-09-30 23:02:12 +00:00
blackhedd
82e2cc3592
Fixed bug noticed by Matthias Tarasiewicz: from_single_ldif_string
...
was returning DN attributes with a prepended nil element.
2006-09-30 14:59:13 +00:00
blackhedd
14c3db9b83
provisionally implemented NTLM authentication.
2006-09-30 13:28:05 +00:00
blackhedd
f3e87dd406
Added support for SASL data types and requests.
...
Connection#bind_sasl is incomplete, don't use it yet.
2006-09-30 12:16:25 +00:00
blackhedd
af27b55d89
Factored out BindResponse handling, to support SASL server creds.
2006-09-30 12:12:52 +00:00
blackhedd
54d929dae5
removed a comment which is no longer true.
2006-09-29 12:44:28 +00:00
blackhedd
e3a743d392
improved search size-limit support.
2006-09-07 20:43:59 +00:00
blackhedd
580e4e749c
comments
2006-09-07 01:35:14 +00:00
blackhedd
a49e0bf792
comments
2006-09-07 01:29:33 +00:00
blackhedd
b23ef85b60
Added a size limit on searches.
2006-09-07 01:17:47 +00:00
blackhedd
5c4de6a5c9
removed dead code
2006-09-02 17:12:52 +00:00
blackhedd
21e243bf13
comment
2006-09-02 17:08:47 +00:00
blackhedd
bc54a9c826
added a compiler for ASN/BER syntax, avoids interpreting it for
...
every packet we parse.
2006-09-02 16:48:07 +00:00
blackhedd
7fd1089115
comment
2006-09-02 14:48:42 +00:00
blackhedd
8d8a2be5f8
noticed a possible parameter problem in paged-search,
...
added comments.
2006-09-02 14:45:25 +00:00
blackhedd
9ece3ff393
more optimizations
2006-09-02 14:11:31 +00:00
blackhedd
6a371b988d
several performance optimizations
2006-09-02 13:49:12 +00:00
blackhedd
58f5db9716
performance improvement in BERParser#read_ber,
...
replaced a lot of calls to Symbol#===.
2006-09-02 04:43:35 +00:00
blackhedd
91d5fff39c
bumped version to 0.1.0
2006-08-31 13:25:54 +00:00
blackhedd
1eab2924f6
fixed line-folding bug in to_ldif
2006-08-31 13:23:25 +00:00
blackhedd
f83934584d
added Net::LDAP#search_root_dse.
2006-08-31 12:39:45 +00:00
blackhedd
f2d761794f
tweaked the binary-attribute check. Now we look at the
...
whole string instead of just the ends as ldapsearch does.
2006-08-31 01:48:33 +00:00
blackhedd
1deab245d6
supported base64 encoding for binary attribute values
2006-08-29 00:24:29 +00:00
blackhedd
7660da0270
fixed a couple of "quiet" bugs, and added custom _dump
...
and _load methods so that Net::LDAP::Entry objects can
be marshalled. Thanks to an anonymous feature requester
who only left the name "Jammy."
2006-08-27 03:25:44 +00:00
blackhedd
4a46e19b8f
bumped version to 0.0.5
2006-08-18 19:42:34 +00:00
blackhedd
493b81bd69
added Net::LDAP::Entry#to_ldif
2006-08-18 19:41:03 +00:00
blackhedd
8d89bb6292
added parentheses to quiet warnings.
2006-08-16 23:57:59 +00:00
blackhedd
02ab4f3a6b
documentation for Net::LDAP#bind_as.
2006-08-15 09:35:43 +00:00
blackhedd
a2ef2e2df5
Bug fix: set @open_connection to nil at the end of a Net::LDAP#open.
...
Otherwise, you couldn't do more than one #open on the same Net::LDAP
object! Subsequent ones would say "open already in progress."
2006-08-15 08:46:38 +00:00
blackhedd
7c1877d991
Augmented the value filter used in parsing rfc-2254 filters.
...
Thanks to Andre Nathan.
2006-08-15 08:34:53 +00:00
blackhedd
089c737160
Net::LDAP#search now automatically converts filters in rfc-2254 notation.
2006-08-15 08:34:06 +00:00
blackhedd
faed957164
Changed version to 4.
...
Changed Net::LDAP#bind_as returns a result set now.
2006-08-15 08:33:18 +00:00
blackhedd
e2bf4dc172
Added a preliminary implementation of Net::LDAP#bind_as.
2006-08-12 14:54:25 +00:00
blackhedd
ad24ad979d
undeprecated Net::LDAP#modify.
2006-08-05 15:20:18 +00:00
blackhedd
69158b7b16
left out some encryption calls.
2006-07-26 21:35:38 +00:00
blackhedd
e89a9a4d72
version bump to 0.0.3
2006-07-26 12:21:30 +00:00
blackhedd
9bc533401a
Added simple TLS encryption.
2006-07-26 12:20:33 +00:00
blackhedd
43dcdec0f1
doc improvements
2006-07-12 10:37:37 +00:00
blackhedd
a6d4fa1462
more release notes
2006-07-12 09:20:05 +00:00
blackhedd
526c1cf08b
Removed extraneous print statement, caught by
...
Gary Williams, gary.williams@sas.com
2006-06-27 17:35:18 +00:00
blackhedd
2baf207486
Supported constructed, context-specific tag 3 (search referral).
...
This was missing from the earlier work that supported referrals.
2006-06-23 12:07:23 +00:00
blackhedd
5fea59a42a
fixed a regression caused by the introduction of
...
RFC-2696 paged-result controls. These broke openLDAP
versions 2.2.x and greater because we were using a
page size of 739, while openLDAP doesn't like anything
bigger than 126.
2006-06-10 03:25:08 +00:00
blackhedd
50541f653d
supported filter types greaterorequal and lessorequal
2006-06-09 21:43:40 +00:00
blackhedd
f3e05db9d3
added support for search-result referrals.
2006-05-31 15:55:16 +00:00
blackhedd
a11e121e54
Allowed dots in filter branches.
...
Patch provided by Andre Nathan.
2006-05-24 23:33:17 +00:00
blackhedd
241d9b8fb3
Took a suggestion from Andre Nathan (andre@digirati.com.br)
...
to change the behavior of Net::LDAP::Filter#method_missing
to allow case-insensitive attribute names.
2006-05-18 03:52:38 +00:00
blackhedd
7de0147b21
Added Net::LDAP::Filter.from_rfc2254
2006-05-15 20:03:56 +00:00
blackhedd
fe40fa1ef9
improved behavior of setting attributes in entries
2006-05-15 18:33:01 +00:00
blackhedd
39ec12afe2
supported Proc objects as passwords.
2006-05-09 23:01:30 +00:00
blackhedd
d4c19eea44
Reinterpreted search result sets as Arrays rather than Hashes.
...
WARNING WARNING WARNING: This change breaks existing code.
2006-05-04 13:08:36 +00:00
blackhedd
6e5aba6530
commented out the searchx methods. I don't think we'll be needing them.
2006-05-04 12:39:28 +00:00
blackhedd
999f493863
Added some documentation.
2006-05-04 12:30:29 +00:00
blackhedd
013982e672
Small performance improvement
2006-05-04 12:24:57 +00:00
blackhedd
c7df586c9f
Added a method_missing implementation which allows callers
...
to access attributes simply by giving their name.
2006-05-04 12:19:41 +00:00
blackhedd
271c685a67
Enabled the left side of a filter-specification to be a Symbol.
...
Previously it had to be a String.
2006-05-04 12:06:34 +00:00
blackhedd
c30a198a29
Provisionally removed an obsolete way of returning search
...
results. The code is commented out so we can bring it back
if the removal causes regressions.
2006-05-04 11:58:10 +00:00
blackhedd
0719bed7f6
Added convenience methods and accessors so that authentication
...
and seach parameters can be specified more easily than by
passing them in an argument hash.
2006-05-04 11:52:22 +00:00
blackhedd
b67a91edca
implemented RFC 2696.
2006-05-02 09:26:55 +00:00
blackhedd
91631f845d
Supported RFC 2251 "controls"
2006-05-02 07:44:33 +00:00
blackhedd
84e2ccc843
Started adding support for LDAP rfc-2251 controls.
2006-05-02 06:55:46 +00:00
blackhedd
504aa8c71d
Bumped up version number to 0.0.2, added a missing status code,
...
and tweaked docs.
2006-05-02 00:47:31 +00:00
blackhedd
d85cc21fad
documented the Entry class
2006-05-02 00:10:24 +00:00
blackhedd
927446601f
doc tweaks
2006-05-01 21:31:27 +00:00
blackhedd
5d349b43f6
Fixed a small edge condition relating to adding values to Net::LDAP::Entry.
2006-05-01 12:19:16 +00:00
blackhedd
4d4423ec25
Deprecated #modify. Added #add_attribute, #replace_attribute and #delete_attribute.
2006-05-01 07:19:12 +00:00
blackhedd
92c61ea897
comment
2006-05-01 06:40:48 +00:00
blackhedd
bae0b92211
added VERSION constant, otherwise rake was picking it up from Ruby's version.
2006-04-30 18:36:24 +00:00
blackhedd
63ecf9c065
documentation for modify
2006-04-30 18:19:38 +00:00
blackhedd
fdc41e0fd9
supported search scopes and attribute-only searches.
2006-04-30 17:17:20 +00:00
blackhedd
5eaacf1ac3
supported LDAP delete
2006-04-30 16:31:08 +00:00
blackhedd
5c18a30088
documentation tweaks
2006-04-30 13:08:55 +00:00
blackhedd
65102e44d9
spelling error
2006-04-26 03:08:32 +00:00
blackhedd
90616a3ca9
lost superfluous default methods
2006-04-26 02:57:34 +00:00
blackhedd
b4c28477f9
documentation
2006-04-26 02:10:34 +00:00
blackhedd
e231a5359e
documentation
2006-04-26 01:43:57 +00:00
blackhedd
28185fdf0f
Improved the search-result handling
2006-04-25 20:15:46 +00:00
blackhedd
7be5474f06
Significant mods to LDAP#search
2006-04-25 14:03:11 +00:00
blackhedd
193f76e530
documentation
2006-04-24 21:59:35 +00:00
blackhedd
6f2d527c24
Added a password-hash generator.
2006-04-24 21:58:14 +00:00
blackhedd
bf9e230a09
added an error message string (65)
2006-04-24 16:27:30 +00:00
blackhedd
b5799f66d0
documents
2006-04-23 19:43:37 +00:00
blackhedd
4f18bcb1e0
documentation
2006-04-23 19:05:06 +00:00
blackhedd
28efeadd94
Added LDAP#modify_rdn as a synonym for LDAP#rename.
2006-04-23 01:23:09 +00:00
blackhedd
ee488f9384
Changed LDAP#add, LDAP#modify and LDAP#delete to return
...
T/F instead of a numeric LDAP code.
2006-04-23 01:21:34 +00:00
blackhedd
f8649bc54e
Changed LDAP#search to return T/F instead of numeric LDAP code,
...
and adjusted the tests accordingly.
2006-04-23 01:17:49 +00:00
blackhedd
0117d386c0
Converted LDAP#bind to return T/F and added LDAP::get_operation_result
...
to retrieve extended error information.
2006-04-23 01:09:13 +00:00
blackhedd
4bc667ffb2
Implemented Net::LDAP::open
2006-04-18 21:11:33 +00:00
blackhedd
36526cd66a
Refactored the Net::LDAP methods to prepare for
...
the implementation of Net::LDAP::open
2006-04-18 20:55:55 +00:00
blackhedd
7a0da7c9bc
Added Dataset::to_ldif
2006-04-18 19:46:47 +00:00
blackhedd
c423ced9e2
Removed dependency on Base64, which doesn't seem to appear on all Ruby versions.
2006-04-18 16:27:39 +00:00
blackhedd
e6d6a5261a
Started a Dataset implementation that will be
...
used to hold search-results and LDIFs.
2006-04-18 15:42:10 +00:00
blackhedd
974652f34d
fixed small error
2006-04-18 00:12:28 +00:00
blackhedd
c0a4c72e66
added a dataset include
2006-04-18 00:11:36 +00:00
blackhedd
39810f40ce
renamed the search object to Dataset
2006-04-18 00:11:05 +00:00
blackhedd
2dc2f238a6
Added a Search object
2006-04-18 00:10:28 +00:00
blackhedd
ee51696d13
Added an LDIF class (just a stub for now)
2006-04-17 20:42:45 +00:00