Kaspar Schiess
a3824392bf
+ Adds a specification for the new ldap extensible filter
...
I am not sure about this, since I haven't been able to find
documentation about what this does. This should work, though.
Cleanup of comments and exceptions, adds specification for
Filter.ex and a parser method.
2010-03-22 15:17:26 +01:00
Austin Ziegler
3e07125214
Adding experimental RFC4515 extensible filtering.
2010-03-22 13:56:37 +01:00
Austin Ziegler
1dbf5908ae
Major clean-up of Net::LDAP::Filter.
2010-03-22 12:12:48 +01:00
Austin Ziegler
afe43a5e58
Removing possible calls to Object#to_a.
2010-03-22 12:04:47 +01:00
Austin Ziegler
c913bc6fb9
Moved core extensions to Net::BER. Documented.
2010-03-20 13:47:56 +01:00
Kaspar Schiess
cfd9dbc922
+ Spec for Net::LDAP::Entry
...
Pretty much rewrote the code. It now also responds to respond_to?
correctly. Most of that symbol manipulation is now in just one place.
2010-03-18 10:08:59 +01:00
Kaspar Schiess
c01dc9ee89
+ Adds comments (and some layouting)
2010-03-18 09:28:27 +01:00
Austin Ziegler
0f13153558
Switching to version 0.1.0.
2010-03-15 20:16:12 -04:00
Austin Ziegler
31946c35c7
Rationalizing startup.
2010-03-13 00:20:07 -05:00
Kaspar Schiess
1509aa8ef6
! Fixes all tests
...
Some code has been removed. Version control is not synonymous with code storage - if you're not using it now, you probably don't have working tests and the code will be buggy anyway. Write it when you need it.
2010-02-12 14:39:57 +01:00
Kaspar Schiess
75f37c58b9
! Fixes tests for everything BUT the number conversion
...
This commit removes read_ber! since no one seems to be using it. YAGNI.
2010-02-12 11:59:46 +01:00
Rory OConnell
4c24cf239a
Import fixes from kschiess
2010-02-10 12:13:59 -06:00
Rory OConnell
d37c3b3ae6
Cleaned up the layout quite a bit to make Gemifying and including into Rails 3 less painful. Some steps to 1.9 compatibility
2010-02-09 16:46:49 -06:00
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