Commit graph

138 commits

Author SHA1 Message Date
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
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 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
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 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
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 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
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 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
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 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
Kaspar Schiess ee58580a53 ! Reference to self fixed 2010-10-08 16:56:46 +02:00
Rory O'Connell 7143490850 Fix merge artifacts because I'm a dummy dumb head 2010-09-25 15:27:59 -05:00
Rory O'Connell a3dcb965db Merge branch 'master' of github.com:RoryO/ruby-net-ldap 2010-09-25 15:05:06 -05:00
Rory O'Connell 43d50d6498 Merge remote branch 'tonyheadford/master'
Conflicts:
	lib/net/ldap.rb
2010-09-25 15:02:34 -05:00
Austin Ziegler f46c68dce3 Merge branch 'master' of github.com:RoryO/ruby-net-ldap 2010-09-25 00:06:31 -04:00
Erik Hetzner 85a137c71f Fix reference to Net::LDAP (make absolute). 2010-09-21 08:08:33 +08:00
Erik Hetzner 09e6267fdd Fix reference to StartTlsOid constant. 2010-09-21 08:08:33 +08:00
tonyheadford 1761db89e9 Added new_superior arg to Net::LDAP rename method. This enables moving an entry in the tree by specifying the new parent container in addition to the rename entry functionality. Added a unit test file test_rename.rb for this method. 2010-07-19 20:52:10 +01:00
Kouhei Sutou d778139d75 Net::LdapPdu -> Net::LDAP::PDU. 2010-07-20 00:05:45 +08:00
Austin Ziegler 054ead158d Bumping the version for release. 2010-04-19 01:57:13 -04:00
Austin Ziegler 59dac76d47 Cleaning up Net::LDAP documentation. 2010-04-19 01:54:25 -04:00
Rory O'Connell cc55227083 Merge remote branch 'halostatue/ldap-psw-cleanup' into ldap-psw-cleanup 2010-04-15 17:07:41 -05:00
Rory O'Connell 896eaa533c Merge branch 'ldap-cleanup', remote branch 'halostatue/ldap-cleanup' into ldap-cleanup 2010-04-15 16:27:08 -05:00
Kaspar Schiess 483af95ccd ! Fixes references to various classes
I had to prefix all accesses to LdapPdu, AsnSyntax and Filter with
Net::LDAP or Net:: respectively. We should rethink the module
decomposition to make this more natural.
2010-04-05 18:33:35 +02:00
Austin Ziegler 5ae087dd1b Cleaning up Net::LDAP::Password, including file rename. 2010-03-27 15:36:31 -04:00
Austin Ziegler 06ea324055 Cleanup of Dataset and Entry. 2010-03-27 14:51:01 -04:00
Austin Ziegler 20f494a875 Yield is not a function call. 2010-03-27 14:48:06 -04:00
Austin Ziegler 1589556dd2 Fixing some documentation formatting. 2010-03-24 23:27:54 -04:00
Austin Ziegler 8e9a8a48d7 Significant reformat of Net::LDAP class. 2010-03-24 23:16:33 -04:00
Austin Ziegler fece50c844 Making return codes consistent for add and modify. 2010-03-24 21:48:01 -04:00
Kaspar Schiess a3824392bf + Adds a specification for the new ldap extensible filter
I am not sure about this, since I haven't been able to find
documentation about what this does. This should work, though.

Cleanup of comments and exceptions, adds specification for
Filter.ex and a parser method.
2010-03-22 15:17:26 +01:00
Austin Ziegler afe43a5e58 Removing possible calls to Object#to_a. 2010-03-22 12:04:47 +01:00
Austin Ziegler c913bc6fb9 Moved core extensions to Net::BER. Documented. 2010-03-20 13:47:56 +01:00
Austin Ziegler e31af4bead SSL enabled or disabled per presence of OpenSSL. 2010-03-19 22:56:50 -04:00