Commit graph

424 commits

Author SHA1 Message Date
blackhedd e231a5359e documentation 2006-04-26 01:43:57 +00:00
blackhedd 28185fdf0f Improved the search-result handling 2006-04-25 20:15:46 +00:00
blackhedd 7be5474f06 Significant mods to LDAP#search 2006-04-25 14:03:11 +00:00
blackhedd 193f76e530 documentation 2006-04-24 21:59:35 +00:00
blackhedd 6f2d527c24 Added a password-hash generator. 2006-04-24 21:58:14 +00:00
blackhedd bf9e230a09 added an error message string (65) 2006-04-24 16:27:30 +00:00
blackhedd b5799f66d0 documents 2006-04-23 19:43:37 +00:00
blackhedd 4f18bcb1e0 documentation 2006-04-23 19:05:06 +00:00
blackhedd cf680bc8c1 readme text 2006-04-23 17:34:18 +00:00
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