Commit graph

119 commits

Author SHA1 Message Date
blackhedd 79e59cf3aa initial dev 2006-12-15 10:37:27 +00:00
blackhedd f6cb105444 oops. Fixed private. 2006-12-08 16:10:37 +00:00
blackhedd db1894a5c0 Added Array#to_ber_oid. 2006-12-08 16:03:24 +00:00
blackhedd 65b446c586 fixed Fixnum#to_ber when the value is zero 2006-12-08 15:53:02 +00:00
blackhedd 11d8152d1b re-implemented Fixnum#to_ber, which was wrongly implemented.
The new version still doesn't fix representations of negative values.
2006-12-08 15:47:23 +00:00
blackhedd 1d1a1a6f7d DRY violated 2006-12-08 14:48:57 +00:00
blackhedd 6860965651 supported translation of the X.690 OID representation.
More useful for SNMP than for LDAP.
2006-12-08 10:40:17 +00:00
blackhedd 8dfbf21302 supported univeral BER types 5 (NULL) and 6 (OID) 2006-12-08 08:39:13 +00:00
blackhedd 7fe954f199 Supported some additional BER encodings. 2006-11-29 18:09:14 +00:00
blackhedd 2ee2a551b1 Added syntax support for SearchFilter ANDs and ORs. 2006-11-29 13:42:21 +00:00
blackhedd 4b110ff886 Added String#read_ber! 2006-11-27 23:09:18 +00:00
blackhedd 4db9f2c7cc Added a more-disciplined version of #read_ber. 2006-11-27 23:07:24 +00:00
blackhedd 832334116a Supported BindRequest, SearchRequest, and UnbindRequest 2006-11-27 22:59:03 +00:00
blackhedd fad144bcbc Supported ASN NULL objects. Kindof trivial but nice for completeness. 2006-11-27 22:57:17 +00:00
blackhedd e001f0413e Added syntax support for UnbindRequest bodies. 2006-11-27 22:56:13 +00:00
blackhedd 1748afac24 added blanks to the attribute filter in Filter#construct 2006-10-27 00:14:21 +00:00
blackhedd 239752408d removed a duplicate entry 2006-10-27 00:04:47 +00:00
blackhedd 7e32ba177c improved the SASL authentication method, and added a simple accessor for
MS/AD authentication via GSS-SPNEGO.
2006-09-30 23:02:12 +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 f3e87dd406 Added support for SASL data types and requests.
Connection#bind_sasl is incomplete, don't use it yet.
2006-09-30 12:16:25 +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 e3a743d392 improved search size-limit support. 2006-09-07 20:43:59 +00:00
blackhedd 580e4e749c comments 2006-09-07 01:35:14 +00:00
blackhedd a49e0bf792 comments 2006-09-07 01:29:33 +00:00
blackhedd b23ef85b60 Added a size limit on searches. 2006-09-07 01:17:47 +00:00
blackhedd 5c4de6a5c9 removed dead code 2006-09-02 17:12:52 +00:00
blackhedd 21e243bf13 comment 2006-09-02 17:08:47 +00:00
blackhedd bc54a9c826 added a compiler for ASN/BER syntax, avoids interpreting it for
every packet we parse.
2006-09-02 16:48:07 +00:00
blackhedd 7fd1089115 comment 2006-09-02 14:48:42 +00:00
blackhedd 8d8a2be5f8 noticed a possible parameter problem in paged-search,
added comments.
2006-09-02 14:45:25 +00:00
blackhedd 9ece3ff393 more optimizations 2006-09-02 14:11:31 +00:00
blackhedd 6a371b988d several performance optimizations 2006-09-02 13:49:12 +00:00
blackhedd 58f5db9716 performance improvement in BERParser#read_ber,
replaced a lot of calls to Symbol#===.
2006-09-02 04:43:35 +00:00
blackhedd 91d5fff39c bumped version to 0.1.0 2006-08-31 13:25:54 +00:00
blackhedd 1eab2924f6 fixed line-folding bug in to_ldif 2006-08-31 13:23:25 +00:00
blackhedd f83934584d added Net::LDAP#search_root_dse. 2006-08-31 12:39:45 +00:00
blackhedd f2d761794f tweaked the binary-attribute check. Now we look at the
whole string instead of just the ends as ldapsearch does.
2006-08-31 01:48:33 +00:00
blackhedd 1deab245d6 supported base64 encoding for binary attribute values 2006-08-29 00:24:29 +00:00
blackhedd 7660da0270 fixed a couple of "quiet" bugs, and added custom _dump
and _load methods so that Net::LDAP::Entry objects can
be marshalled. Thanks to an anonymous feature requester
who only left the name "Jammy."
2006-08-27 03:25:44 +00:00
blackhedd 4a46e19b8f bumped version to 0.0.5 2006-08-18 19:42:34 +00:00
blackhedd 493b81bd69 added Net::LDAP::Entry#to_ldif 2006-08-18 19:41:03 +00:00
blackhedd 8d89bb6292 added parentheses to quiet warnings. 2006-08-16 23:57:59 +00:00
blackhedd 02ab4f3a6b documentation for Net::LDAP#bind_as. 2006-08-15 09:35:43 +00:00
blackhedd a2ef2e2df5 Bug fix: set @open_connection to nil at the end of a Net::LDAP#open.
Otherwise, you couldn't do more than one #open on the same Net::LDAP
object! Subsequent ones would say "open already in progress."
2006-08-15 08:46:38 +00:00
blackhedd 7c1877d991 Augmented the value filter used in parsing rfc-2254 filters.
Thanks to Andre Nathan.
2006-08-15 08:34:53 +00:00
blackhedd 089c737160 Net::LDAP#search now automatically converts filters in rfc-2254 notation. 2006-08-15 08:34:06 +00:00
blackhedd faed957164 Changed version to 4.
Changed Net::LDAP#bind_as returns a result set now.
2006-08-15 08:33:18 +00:00
blackhedd e2bf4dc172 Added a preliminary implementation of Net::LDAP#bind_as. 2006-08-12 14:54:25 +00:00