Commit graph

365 commits

Author SHA1 Message Date
blackhedd 28efeadd94 Added LDAP#modify_rdn as a synonym for LDAP#rename. 2006-04-23 01:23:09 +00:00
blackhedd ee488f9384 Changed LDAP#add, LDAP#modify and LDAP#delete to return
T/F instead of a numeric LDAP code.
2006-04-23 01:21:34 +00:00
blackhedd f8649bc54e Changed LDAP#search to return T/F instead of numeric LDAP code,
and adjusted the tests accordingly.
2006-04-23 01:17:49 +00:00
blackhedd 030bb9c6d4 Fixed tests to handle the new error return from LDAP#bind. 2006-04-23 01:13:41 +00:00
blackhedd 0117d386c0 Converted LDAP#bind to return T/F and added LDAP::get_operation_result
to retrieve extended error information.
2006-04-23 01:09:13 +00:00
blackhedd 4bc667ffb2 Implemented Net::LDAP::open 2006-04-18 21:11:33 +00:00
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
tom e8bc7442cd initial checkin 2003-12-18 14:48:07 +00:00
tom ed1ff9ad26 Test 2003-09-04 20:58:03 +00:00
tom fc73196437 Test 2003-09-04 20:56:15 +00:00
gforge 58a76c322f initial checkin 2003-09-04 18:31:27 +00:00
tcarrico b176da033b Updating binary default types 2003-04-25 14:22:04 +00:00
tom 68e10a0198 initial checkin 2003-04-24 20:14:32 +00:00
tom 96c32dbec1 tweak 2003-04-24 19:46:12 +00:00
tom 8cad4c1818 initial checkin 2003-04-24 19:43:45 +00:00
tom 200cb628e8 *** empty log message *** 2003-03-05 16:47:11 +00:00
tom 0f15957036 *** empty log message *** 2003-03-05 16:42:18 +00:00