Rory O'Connell
9de9bc755b
Merge pull request #34 from jessehub/master
...
salted sha1 for password generator()
2012-08-28 15:52:40 -07:00
Rory O'Connell
b6d9fbebfd
Merge pull request #33 from DavidJLee/master
...
New filter type to allow searching of binary data
2012-08-28 15:51:53 -07:00
Jesse Callaway
aa677d0471
Added salted sha1 support to password generator. Successfully tested with OpenLDAP 2.4
2012-03-07 19:03:32 -05:00
Rory OConnell
51597eae9a
Correction for rename #32
2012-02-28 21:29:37 -08:00
Rory OConnell
a102054bbf
Version bump
2012-02-28 21:29:02 -08:00
Rory OConnell
4ab764558f
Merge
2012-02-28 20:48:31 -08:00
David J. Lee
9fa0b982b7
Added parens around args for rename.
2012-02-24 15:19:18 -06:00
David J. Lee
9a9d5f0742
Added configuration option to force paged searches off
2012-02-24 14:01:53 -06:00
David J. Lee
c46c93777e
Added a new filter type bineq that will create an equality filter and NOT force
...
convert data to UTF-8. This is required for proper binary data filters in Microsoft
Active Directory.
2012-02-24 09:55:17 -06:00
Rory OConnell
995ddaa4e2
Version bump
2012-02-14 20:51:15 -08:00
Chris Dwan
4c24b4ea36
Added encoding of sort controls if passed in as an option to the search
2012-01-12 14:50:12 -08:00
Oleg Barenboim
8a106ca64f
Added Continuation Reference Processing as defined in section 4.5.3 of RFC 2251 ( http://www.ietf.org/rfc/rfc2251.txt )
2011-12-28 15:29:40 -05:00
Rory O'Connell
a1bf790784
Merge pull request #18 from doitian/issue/17_bererror_unsupported_object_type_id_139
...
Do not add controls when it is empty. Fixed #17
2011-12-04 22:32:32 -08:00
Michael Baker
40f0e1857e
Add success and failure methods.
2011-11-30 20:03:02 +00:00
Michael Baker
2763040162
Return PDU instead of result code
2011-11-29 22:24:34 +00:00
Michael Baker
63db8c836a
Bring back the Net::LDAP namespace
2011-11-17 23:32:03 +00:00
Chris Dwan
b6b7985d6e
fixes based on comments for pull request
2011-11-17 14:23:41 -08:00
Chris Dwan
463ac436a8
added the ability to do a delete_tree
2011-11-16 16:36:39 -08:00
Daniel Abrahamsson
2a74577d5f
search should return result set if :return_result is unspecified (nil).
...
Corrects incorrect behaviour introduced in a4819e525f
2011-10-07 15:56:55 +02:00
Rory O'Connell
5344d73543
Merge pull request #23 from danabr/correct_return_value_from_search
...
Correct return value from search
2011-09-24 11:33:38 -07:00
Rory O'Connell
dac73f46d2
Merge pull request #22 from danabr/ldap_strings_are_utf8
...
Make Net::LDAP use UTF-8 strings
2011-09-24 11:33:10 -07:00
Rory O'Connell
6d7be69653
Merge pull request #20 from danabr/rename_fix
...
Rename fix
2011-09-24 11:32:28 -07:00
Daniel Abrahamsson
a4819e525f
Fix incorrect return value from search when :return_result => true and and search fails
2011-09-22 15:55:40 +02:00
Daniel Abrahamsson
3a8b8a2e00
LDAP uses UTF-8 strings
2011-09-09 19:16:30 +02:00
Daniel Abrahamsson
c90821a7bd
Fixed whitespace issues in lib/net/ldap.rb
2011-08-25 13:16:45 +02:00
Daniel Abrahamsson
c11ec44258
Bugfix: rename failed because of unqualified constants
2011-08-25 13:14:10 +02:00
Ian Yang
f102f50d9c
Do not add controls when it is empty. Fixed #17
...
Some LDAP servers, such as ApacheDS, consider as invalid protocol, if controls
is an empty array.
2011-08-10 20:18:27 +08:00
Martin Carpenter
41bee0a690
Fix LDIF contination to single elided space
...
RFC 2849 http://tools.ietf.org/html/rfc2849 :
SPACE = %x20
; ASCII SP, space
...
2) Any non-empty line, including comment lines, in an LDIF file
MAY be folded by inserting a line separator (SEP) and a SPACE.
Folding MUST NOT occur before the first character of the line.
In other words, folding a line into two lines, the first of
which is empty, is not permitted. Any line that begins with a
single space MUST be treated as a continuation of the previous
(non-empty) line. When joining folded lines, exactly one space
character at the beginning of each continued line must be
discarded. Implementations SHOULD NOT fold lines in the middle
of a multi-byte UTF-8 character.
2011-07-23 03:31:42 +02:00
dulanov
c9bd8b4b3d
fix incorrect respone with return_result=false
2011-05-27 18:24:52 +04:00
Austin Ziegler
028cdeebbd
Really fixing #modify this time.
...
Didn't call the right method before, even though the method itself was
fixed properly.
2011-03-25 21:58:24 -04:00
Austin Ziegler
d6ad919717
Bumping these additional versions.
2011-03-23 21:19:00 -04:00
Austin Ziegler
57a356d556
Bugfix requiring a 0.2.1 release.
...
Modify operations were broken, but now aren't. This version fixes the
changes cleanly.
2011-03-23 21:17:51 -04:00
Jamstah
001608e3a0
Add to history re escaping in filters.
...
Remove extra UTF-8 header.
2011-03-20 20:32:53 +00:00
Austin Ziegler
2a63ae72b9
Merge branch 'filter_escaping' of https://github.com/Jamstah/ruby-net-ldap into Jamstah-filter_escaping
2011-03-17 22:37:44 -04:00
Austin Ziegler
7ae8e28550
Merge branch 'filter_single_clauses' of https://github.com/Jamstah/ruby-net-ldap into jamstah-filter_single_clauses
2011-03-17 22:33:16 -04:00
Austin Ziegler
013c13f7e1
Merge branch 'paging_control' of https://github.com/Jamstah/ruby-net-ldap into jamstah-paging_control
2011-03-17 22:28:47 -04:00
Austin Ziegler
393b57405d
Formatting changes to the DN class.
2011-03-17 22:25:22 -04:00
Austin Ziegler
f50ba57e99
Merge branch 'dn_escaping' of https://github.com/Jamstah/ruby-net-ldap into jamstah-dn_escaping
2011-03-17 22:08:07 -04:00
Austin Ziegler
fedd290adf
Adding utf-8 encoding headers to all lib files.
2011-03-17 21:51:52 -04:00
Austin Ziegler
84e42ceb78
Merging an ugly set of changes I had forgotten about.
2011-03-17 21:37:17 -04:00
Austin Ziegler
3b0a8223b0
Fixing Ruby 1.9.2 -wW2 warnings (bug #28588 )
...
[#28588 ] Regexp warning under Ruby 1.9.2-p0.
2011-03-16 19:33:54 -04:00
Rory O'Connell
af6c595793
Merge remote-tracking branch 'larstobi/master'
2011-03-16 15:15:43 -05:00
Kaspar Schiess
203e4e752d
- removes comments that would appear nonsensical in sdoc
...
These comments would appear as documentation for the Net module, which is bogus. _and_ the formatting was off. Removing them makes rdoc appear more clear.
2011-02-24 11:54:17 +01:00
Lars Tobias Skjong-Børsting
36b06f46df
Fix undefined method 'to_ber' for nil:NilClass. Convert unless nil.
...
Made modify_ops a method to allow for unit testing of it.
Added unit tests for add, delete and replace.
2011-01-28 14:50:54 +01:00
Lars Tobias Skjong-Børsting
aeda4020f2
Fix undefined method 'to_ber' for nil:NilClass. Convert unless nil.
2011-01-26 19:09:03 +01:00
Jamstah
91a201ca4d
DN Class to escape and parse DNs.
2011-01-11 16:27:45 +00:00
Jamstah
0b0688d434
Add correct filter characters.
2011-01-11 14:23:40 +00:00
Jamstah
f3204bde6d
Accept filters with only one clause to an & or |
2011-01-06 14:06:31 +00:00
Jamstah
51f2c95df8
Merge remote branch 'upstream/master' into paging_control
2011-01-05 14:12:24 +00:00
Jamstah
756529b3ae
Only add the paging control if the server supports it. This is partly to work around a bug where a server will not allow all users to page, and will return insufficient access instead of ignoring the control.
2011-01-05 14:07:36 +00:00