Commit graph

102 commits

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