Commit graph

268 commits

Author SHA1 Message Date
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
ba08042d75 Remove test files which have already been migrated to ../test. 2009-03-01 22:44:01 +00: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
emiel
d6e6a97086 Ensure connections are closed. Patch by Kristian Meier. 2009-02-27 15:44:04 +00:00
emiel
afe6567a90 Use proper Ruby SHA1
* Ruby 1.8.[67] and 1.9's SHA1 is in 'digest/sha1'
2009-02-21 15:49:24 +00:00
emiel
4fafdd56d0 Replace TCPsocket with TCPSocket.
* Ruby 1.9 removes the "alias" for TCPsocket so
   use TCPSocket instead. Notice case.
2009-02-21 15:23:09 +00:00
emiel
b1fe518161 Migrate the experimental_netldap branch to trunk. 2008-11-18 14:02:37 +00:00
emiel
6b5548ffd2 This commit is all about moving toward 'Hoe' as the project helper.
$ gem install hoe

To get there the following has been done:

 * Adhere to hoe naming conventions.
 * Migrate and update tests.
 * Consolidate and update documentation.
 * Prepare History.txt for release.
 * And I probably forgot something...
2008-11-14 23:22:30 +00:00
emiel
57a4aad28c Clean up CVSROOT from CVS import 2008-09-18 20:38:13 +00:00
blackhedd
e6cccef627 added clarifying documentation parameters to #bind. 2007-10-23 12:31:58 +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
c6307d2ce4 change notes 2007-08-11 01:27:09 +00:00
blackhedd
089abcceb2 Applied patch from Kouhei Sutou 2007-08-11 01:26:06 +00:00
blackhedd
e429d7034b notes 2007-06-20 12:32:37 +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
64a8240ae0 Bugfix. Net::LDAP#bind was ignoring the inbound auth parameter.
Thanks to Kouhei Sutou for spotting this and pointing it out.
2007-05-07 03:43:32 +00:00
blackhedd
1b568e82df notes on Filter#execute. 2007-05-06 20:28:24 +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
9840657689 notes 2007-05-05 02:45:54 +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
bc1129fcf1 tweaked subschema query to comply with RFC 4512 pgh 4.4. 2007-05-02 18:25:34 +00:00
blackhedd
8cfb4a13b6 more comment tweaks 2007-05-02 10:44:58 +00:00
blackhedd
105fb102d5 let's get it right for a change 2007-05-02 10:21:39 +00:00
blackhedd
acfa64d159 fixed grammar error in doc. 2007-05-02 10:17:46 +00:00
blackhedd
18699c9ac2 comments and docs for Net::LDAP#Search_subschema_entry 2007-05-02 10:15:15 +00:00
blackhedd
95d86ea6c3 added Net::LDAP#search_subschema_entry 2007-05-02 10:10:19 +00:00
blackhedd
55c6d2efe9 fixed error in BER encoding. 2007-05-02 02:59:38 +00:00
blackhedd
d483a345af Added a patch by Kouhei Sutou which supports start_tls encryption. 2007-05-02 02:32:14 +00:00
blackhedd
ae298d2865 added extended error reporting to Connection#modify 2007-03-20 18:56:23 +00:00
blackhedd
033bc22ee4 added some additional comments 2007-03-20 18:30:52 +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
79f3ec6e0d comments 2006-12-21 16:04:25 +00:00
blackhedd
f6c87c02fc fixed mispelling: TimerTicks is now TimeTicks. 2006-12-21 15:09:29 +00:00
blackhedd
0d9206d602 added Net::BER::BerIdentifiedOid type and related tests 2006-12-19 18:27:57 +00:00
blackhedd
2ef2176f14 fixed bug 2006-12-19 18:15:40 +00:00
blackhedd
11fb69b0b1 fixed mishandling of community string in parser 2006-12-19 16:40:10 +00:00
blackhedd
40b5554389 tweaked get-response parsing 2006-12-18 20:36:41 +00:00
blackhedd
977f276191 fixed small bug, missing case in PDU parser 2006-12-18 20:16:32 +00:00
blackhedd
765988a57b supported parsing of get-response packets 2006-12-18 19:56:50 +00:00
blackhedd
eac464bcb9 added some SNMP app-specific types and cleaned up some BER-encoding problems
with integers.
2006-12-17 19:04:41 +00:00
blackhedd
e550dc80ab missed a case 2006-12-15 18:37:09 +00:00
blackhedd
5f197cc040 fixed the implementation of Bignum#to_ber. 2006-12-15 18:29:26 +00:00
blackhedd
0bf35f8d3e additional packet formats supported 2006-12-15 16:15:06 +00:00