Commit graph

61 commits

Author SHA1 Message Date
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