Commit graph

58 commits

Author SHA1 Message Date
emiel ec47390431 Correct indentation and format. 2009-02-27 22:43:21 +00:00
emiel 2835ecd82d Fix warning: instance variable @ldap_controls not initialized 2009-02-27 22:39:17 +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 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 d483a345af Added a patch by Kouhei Sutou which supports start_tls encryption. 2007-05-02 02:32:14 +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 832334116a Supported BindRequest, SearchRequest, and UnbindRequest 2006-11-27 22:59:03 +00:00
blackhedd 1748afac24 added blanks to the attribute filter in Filter#construct 2006-10-27 00:14:21 +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 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 5c4de6a5c9 removed dead code 2006-09-02 17:12:52 +00:00
blackhedd 1eab2924f6 fixed line-folding bug in to_ldif 2006-08-31 13:23:25 +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 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 7c1877d991 Augmented the value filter used in parsing rfc-2254 filters.
Thanks to Andre Nathan.
2006-08-15 08:34:53 +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 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 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 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 d85cc21fad documented the Entry class 2006-05-02 00:10:24 +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 5eaacf1ac3 supported LDAP delete 2006-04-30 16:31:08 +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