Commit graph

213 commits

Author SHA1 Message Date
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
blackhedd 497e2be4e7 Added unit tests for search-filters 2006-04-17 20:39:54 +00:00
blackhedd 4c9532f432 Refactored ldap/pdu and ldap/filter scripts 2006-04-17 00:41:49 +00:00
blackhedd ff01c26401 Fixed bug: we were generating an application string rather
than a context-specific one when constructing "present"
filters.
2006-04-17 00:33:55 +00:00
blackhedd 1b8bce9051 Fixed two bugs:
1) We were incorrectly halting sequence-parses when the sequence
contained a boolean FALSE value;
2) We were generating application strings with a tag class of 0x80
(context-specific) rather than 0x40.
2006-04-17 00:32:24 +00:00
blackhedd 33e248cdc3 removed files that now live in lib/net. 2006-04-16 11:52:37 +00:00
blackhedd 473a777fae Moved the netxxx scripts down to net/xxx. 2006-04-16 09:38:52 +00:00
blackhedd 7b049aad4a Added net subdirectory and started refactor to net/ldap.
Thanks for the suggestion, Austin.
2006-04-16 09:23:12 +00:00
blackhedd 777028007e Fixed bug in String#to_ber. Thanks Austin. 2006-04-16 09:16:14 +00:00
blackhedd c9fb4256ac comments and minor cleanup. 2006-04-16 01:35:30 +00:00
blackhedd 0c1310ea4a Comments. 2006-04-16 01:29:05 +00:00
blackhedd 0d4ec9b2d5 Fixed a regression that happened when the Asn-syntax format changed. 2006-04-15 04:16:20 +00:00
blackhedd 2f56d3e258 Filled in a few blanks, and reworked the mechanism
for handling application-specific ASN.1 syntaxes.
We now allow applications to define application
tag numbers that are the same, as long as one is
constructed and the other primitive.
2006-04-15 02:22:38 +00:00
blackhedd eb3ab200f8 Ooops, I added my code in the top level.
Provisionally added this branch to keep from messing things up.
2006-04-14 23:23:35 +00:00