Commit Graph

453 Commits (master)

Author SHA1 Message Date
Denis Knauf 7438a2ab45 One LdapError-class => Specific errors for every exception. 2013-03-16 13:10:02 +01:00
Rory O'Connell 8a182675f4 Merge pull request #46 from epeli/patch-1
Add result string 19 Constraint Violation
2012-08-28 15:54:21 -07:00
Rory O'Connell ccd7b6da5b Merge pull request #41 from justcfx2u/master
Fall back if string cannot be encoded
2012-08-28 15:53:15 -07:00
Rory O'Connell 8acd4acc5b Merge pull request #39 from aspgems/master
Changed back return values in API methods to match what documentation says
2012-08-28 15:53:03 -07:00
Rory O'Connell 8ddb2d7c84 Merge pull request #35 from MarkCDSys/master
Parse UTF-8 special-chars in Net::LDAP::Filter.construct()
2012-08-28 15:52:52 -07:00
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
Esa-Matti Suuronen 717132f224 Add result string 19 Constraint Violation
As documented in http://www.openldap.org/doc/admin24/appendix-ldap-result-codes.html
2012-08-20 10:58:23 +03:00
Harold A. Jones II 656039cee0 Gracefully fall back if string cannot be encoded. 2012-04-30 22:03:55 -04:00
Francisco R. Santos d6aa24ebea Changed back return values in API methods to match what documentation says 2012-04-18 20:11:11 +02:00
Markus Bucher b63e5c4930 Added common UTF-8 special characters to filter-values 2012-03-20 17:41:00 +01: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 3345c58dfb Fixing broken release 2012-02-15 11:54:46 -08:00
Rory OConnell 373304d812 Fixing gemspec 2012-02-14 21:05:12 -08:00
Rory OConnell cba57eb50d URL change 2012-02-14 20:52:08 -08:00
Rory OConnell 5467ecf6cd Words 2012-02-14 20:51:47 -08:00
Rory OConnell 995ddaa4e2 Version bump 2012-02-14 20:51:15 -08:00
MichaelBaker ad4493b104 Update net-ldap.gemspec 2012-01-30 20:10:29 -08:00
MichaelBaker 09e372ee63 Update net-ldap.gemspec 2012-01-30 20:07:45 -08:00
Christopher Dwan b13c71d265 Merge pull request #3 from partnerpedia/add_sort_control
Add sort control
2012-01-12 16:51:36 -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
Rory O'Connell 76a81cce4a Merge pull request #26 from ManageIQ/continuation-reference-processing
Added Continuation Reference Processing as defined in section 4.5.3 of RFC 2251 (http://www.ietf.org/rfc/rfc2251.txt)
2011-12-28 12:52:22 -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
Ivar Vasara b94bba9773 Merge pull request #2 from partnerpedia/better_response_message
Better response message
2011-12-01 11:51:26 -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
radixhound 528ef30801 Merge pull request #1 from partnerpedia/add_delete_tree
added the ability to do a delete_tree
2011-11-17 14:42:37 -08:00
Chris Dwan 58bd212918 remove Gemfile.lock 2011-11-17 14:25:00 -08: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
Rory O'Connell 6bb9fa6ae6 Merge pull request #24 from danabr/default_search_behaviour
search should return result set if :return_result is unspecified (nil).
2011-10-07 05:14:08 -07: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
Rory O'Connell 5c3cbb7fe6 Merge pull request #16 from mcarpenter/master
Issue #15: LDIF continuation character
2011-09-24 11:31:32 -07:00
Daniel Abrahamsson 2336188503 No need to pass empty block to search 2011-09-22 16:19:12 +02: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 42bdeb93d8 Add test case showing incorrect behaviour for failed searches 2011-09-22 15:55:13 +02:00
Martin Carpenter d2e00dfd58 Test single tab is not continued 2011-09-10 10:39:05 +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