-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 2.6.1] [#4421] [YCQL] Disallow Unauthenticated LDAP binding…
… + add handling for ycql_ldap_search_filter Summary: LDAP protocol has an "Unauthenticated" bind mechanism which allows successful bind with a non-empty username but empty password. As per https://datatracker.ietf.org/doc/html/rfc4513#section-6.3.1, clients and servers, both, should steer clear of this bind mechanism. For this, a check has been added to error out on empty passwords. Another fix in this diff is that the handling and tests for ycql_ldap_search_filter were missing. They have been added now. Original commit: https://phabricator.dev.yugabyte.com/D13197, 08ad5c8 Test Plan: Jenkins: urgent, rebase: 2.6.1 ./yb_build.sh --java-test org.yb.cql.TestLDAPAuth Reviewers: dmitry, alan, mihnea, steve.varnau Reviewed By: mihnea, steve.varnau Subscribers: steve.varnau, yql Differential Revision: https://phabricator.dev.yugabyte.com/D13329
- Loading branch information
Showing
9 changed files
with
336 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.