Skip to content

SASL Digest-MD5 for the ZK Quorum#189

Open
JeanMichelApeupres wants to merge 1 commit intoderic:masterfrom
JeanMichelApeupres:master
Open

SASL Digest-MD5 for the ZK Quorum#189
JeanMichelApeupres wants to merge 1 commit intoderic:masterfrom
JeanMichelApeupres:master

Conversation

@JeanMichelApeupres
Copy link
Copy Markdown
Contributor

Hi !

Since ZK 3.4.10, we can have SASL authentication for the quorum (more information here : https://cwiki.apache.org/confluence/display/ZOOKEEPER/Server-Server+mutual+authentication). This PR implements SASL for server2server authentication using Digest-MD5 but can be improved to include Kerberos (I don't have Kerberos in my testing environment) :)

Boolean $quorum_auth_enable_sasl = $zookeeper::params::quorum_auth_enable_sasl,
Boolean $quorum_auth_learner_require_sasl = $zookeeper::params::quorum_auth_learner_require_sasl,
Boolean $quorum_auth_server_require_sasl = $zookeeper::params::quorum_auth_server_require_sasl,
String $quorum_sasl_user = $zookeeper::params::quorum_sasl_user,
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

String can't have an undef value unless it's declared as Optional[String]. The same in case of $quorum_sasl_password

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants