Commit graph

88 commits

Author SHA1 Message Date
Austin Ziegler 7ae8e28550 Merge branch 'filter_single_clauses' of https://github.com/Jamstah/ruby-net-ldap into jamstah-filter_single_clauses 2011-03-17 22:33:16 -04:00
Austin Ziegler 393b57405d Formatting changes to the DN class. 2011-03-17 22:25:22 -04:00
Austin Ziegler f50ba57e99 Merge branch 'dn_escaping' of https://github.com/Jamstah/ruby-net-ldap into jamstah-dn_escaping 2011-03-17 22:08:07 -04:00
Austin Ziegler fedd290adf Adding utf-8 encoding headers to all lib files. 2011-03-17 21:51:52 -04:00
Austin Ziegler 84e42ceb78 Merging an ugly set of changes I had forgotten about. 2011-03-17 21:37:17 -04:00
Austin Ziegler 3b0a8223b0 Fixing Ruby 1.9.2 -wW2 warnings (bug #28588)
[#28588] Regexp warning under Ruby 1.9.2-p0.
2011-03-16 19:33:54 -04:00
Jamstah 91a201ca4d DN Class to escape and parse DNs. 2011-01-11 16:27:45 +00:00
Jamstah f3204bde6d Accept filters with only one clause to an & or | 2011-01-06 14:06:31 +00:00
Kaspar Schiess 36904e208a + Rewrote tests as specs. Ruby1.9 compatible escape code. 2010-12-30 13:44:17 +01:00
Jamstah a696aa89a0 Add a method to escape filter strings, and some convenience method for creating some common filter patterns, that are automatically escaped. 2010-12-30 13:14:15 +01:00
Kaspar Schiess cd866c0109 + Patch from Sean Cashin that fixes filter behaviour
Filters would not accept apostrophes, now they do.
Thanks Sean Cashin (http://github.com/scashin133)!
2010-10-08 16:47:24 +02:00
Austin Ziegler f46c68dce3 Merge branch 'master' of github.com:RoryO/ruby-net-ldap 2010-09-25 00:06:31 -04:00
Derek Harmel 4159643c3d Fixes for mysterious 'constant not missing' errors 2010-09-07 01:15:28 +08:00
Austin Ziegler 59dac76d47 Cleaning up Net::LDAP documentation. 2010-04-19 01:54:25 -04:00
Austin Ziegler 5ae087dd1b Cleaning up Net::LDAP::Password, including file rename. 2010-03-27 15:36:31 -04:00
Austin Ziegler 6eaf87dc56 Cleaning up Net::LDAP::PDU (including object rename. 2010-03-27 15:33:32 -04:00
Austin Ziegler 06ea324055 Cleanup of Dataset and Entry. 2010-03-27 14:51:01 -04:00
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