Commit graph

134 commits

Author SHA1 Message Date
blackhedd 36526cd66a Refactored the Net::LDAP methods to prepare for
the implementation of Net::LDAP::open
2006-04-18 20:55:55 +00:00
blackhedd 7a0da7c9bc Added Dataset::to_ldif 2006-04-18 19:46:47 +00:00
blackhedd c423ced9e2 Removed dependency on Base64, which doesn't seem to appear on all Ruby versions. 2006-04-18 16:27:39 +00:00
blackhedd e6d6a5261a Started a Dataset implementation that will be
used to hold search-results and LDIFs.
2006-04-18 15:42:10 +00:00
blackhedd dac184da91 removed dead code 2006-04-18 00:18:48 +00:00
blackhedd 974652f34d fixed small error 2006-04-18 00:12:28 +00:00
blackhedd c0a4c72e66 added a dataset include 2006-04-18 00:11:36 +00:00
blackhedd 39810f40ce renamed the search object to Dataset 2006-04-18 00:11:05 +00:00
blackhedd 2dc2f238a6 Added a Search object 2006-04-18 00:10:28 +00:00
blackhedd ee51696d13 Added an LDIF class (just a stub for now) 2006-04-17 20:42:45 +00:00
blackhedd 497e2be4e7 Added unit tests for search-filters 2006-04-17 20:39:54 +00:00
blackhedd ca38bfc803 additional unit tests and partial support for filters in the test server. 2006-04-17 17:57:33 +00:00
blackhedd 7d08543d24 ldapserver now correctly selects which attributes to return in
a search, based on the client's request.
2006-04-17 12:41:50 +00:00
blackhedd f8440cdf36 incorporated test data into the test LDAP server. 2006-04-17 03:44:55 +00:00
blackhedd 2ccd60bfc2 Test LDIF 2006-04-17 02:54:00 +00:00
blackhedd 825594ade2 Removed superfluous requires. Now, all you have to
do is require net/ldap and you'll pick up all the needed
modules.
2006-04-17 00:42:47 +00:00
blackhedd 4c9532f432 Refactored ldap/pdu and ldap/filter scripts 2006-04-17 00:41:49 +00:00
blackhedd a25e74e1e3 added the ASN.1 syntax definition for a "present" filter. 2006-04-17 00:35:42 +00:00
blackhedd ff01c26401 Fixed bug: we were generating an application string rather
than a context-specific one when constructing "present"
filters.
2006-04-17 00:33:55 +00:00
blackhedd 1b8bce9051 Fixed two bugs:
1) We were incorrectly halting sequence-parses when the sequence
contained a boolean FALSE value;
2) We were generating application strings with a tag class of 0x80
(context-specific) rather than 0x40.
2006-04-17 00:32:24 +00:00
blackhedd 1decab1aaf Ditched autorequire from Rakefile 2006-04-16 23:07:50 +00:00
blackhedd 33e248cdc3 removed files that now live in lib/net. 2006-04-16 11:52:37 +00:00
blackhedd fbacb5f8e0 started an attribute test 2006-04-16 11:10:17 +00:00
blackhedd 8920805bb2 Changed the includes to pick up the new net/xxx script locations. 2006-04-16 09:40:01 +00:00
blackhedd 473a777fae Moved the netxxx scripts down to net/xxx. 2006-04-16 09:38:52 +00:00
blackhedd 7b049aad4a Added net subdirectory and started refactor to net/ldap.
Thanks for the suggestion, Austin.
2006-04-16 09:23:12 +00:00
blackhedd 777028007e Fixed bug in String#to_ber. Thanks Austin. 2006-04-16 09:16:14 +00:00
blackhedd c9fb4256ac comments and minor cleanup. 2006-04-16 01:35:30 +00:00
blackhedd 0c1310ea4a Comments. 2006-04-16 01:29:05 +00:00
blackhedd 9147cf1254 Started adding some LDAP-client test cases 2006-04-15 04:43:36 +00:00
blackhedd 0d4ec9b2d5 Fixed a regression that happened when the Asn-syntax format changed. 2006-04-15 04:16:20 +00:00
blackhedd 2f56d3e258 Filled in a few blanks, and reworked the mechanism
for handling application-specific ASN.1 syntaxes.
We now allow applications to define application
tag numbers that are the same, as long as one is
constructed and the other primitive.
2006-04-15 02:22:38 +00:00
blackhedd 9b59d3fd93 Fun little LDAP server to testing Net::LDAP 2006-04-15 02:19:55 +00:00
blackhedd eb3ab200f8 Ooops, I added my code in the top level.
Provisionally added this branch to keep from messing things up.
2006-04-14 23:23:35 +00:00