-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roachtest: Add LDAP conn. latency test via roachtest
No test previously existed to compute and monitor LDAP connection latency Created a roachtest which leverages the workload to get the stats for LDAP connection latency The test uses an Azure LDAP server and it's user `testuser` which is authenticated on the CRDB via LDAP. The test * Creates a user named testuser into CRDB * Sets the HBA conf and custim CA into the cluster settings * runs the workload binary to compute the connection latency Epic: CRDB-40412 Fixes: #127358
- Loading branch information
1 parent
285460a
commit d0d7c01
Showing
6 changed files
with
212 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDJTCCAg2gAwIBAgIQCEE9wJ6n+33qOpq9I0L+rTANBgkqhkiG9w0BAQsFADAr | ||
MRIwEAYDVQQKEwlDb2Nrcm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0y | ||
NDA1MDQxMjQ3NDFaFw0zNDA1MTMxMjQ3NDFaMCsxEjAQBgNVBAoTCUNvY2tyb2Fj | ||
aDEVMBMGA1UEAxMMQ29ja3JvYWNoIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A | ||
MIIBCgKCAQEAqjRN1At979UwgdXw6jO1oCHGYRwjnDBb7QMTM0ifql82o07Db1td | ||
stPrl6nr6cuBE+GxviKYYq/jHrsWnSvWx1IX6C7FJcYei1EpwZbN+6pnMe6FeUup | ||
I+W8yBum5gGm527ZGaCvj97Dwk6MtMF2O+L9EFS2eK0SzxgCZYxi4qH0vWSG/kTo | ||
W9K5pl+Ybk9B7+N6UkOP4jznv2nxrtt8s/+nYugPj7ny4yVIS5KFTGLU5VzmVvP8 | ||
S6ap3nzWojK349O9L4lunbBG8n2STYIWminJtla1QwzYsq1DjfNaRTrNRFCgTsmV | ||
XWSgPM8l2F9lnyWIyRCokwjNAtoHMfCSewIDAQABo0UwQzAOBgNVHQ8BAf8EBAMC | ||
AuQwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4EFgQUWggEuxn5oBwFQcbQ+NZw | ||
tyLXEuswDQYJKoZIhvcNAQELBQADggEBACHyUBrzZnzUjCMGhJvwDL7KKAq/lin6 | ||
WPUgh+hr9NOMWIpfz9TKZ5IqT7o3R9Hpm7wTCMm90ONlfRLNoBRT6sb8e19HUsgt | ||
g1f+2TPa0pKLkKPe9O98GS4ilzb7yD2Nb5h2+pHufmXlq7zQMP0+iHGZ/lxW6voB | ||
iKsW9NReXf716lY7Iam/e7eoYUaoW0gIFNjlleVAlOI/LD0uZp0TQ4idXHZ0K9BY | ||
c25GjLSMI9hw5Dm4z79rbDmAX1h6TKkKshk3oCZbVQ9UrnqtY5+BSpdqSZJZAj21 | ||
wWVQ+EOge85C8/b2VuRHLSmb+DzicUufDUSvhHDMdUXQg2zT7wiPm48= | ||
-----END CERTIFICATE----- |
21 changes: 21 additions & 0 deletions
21
pkg/cmd/roachtest/testdata/ldap_authentication_domain_custom_ca
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDiTCCAnGgAwIBAgIBBzANBgkqhkiG9w0BAQsFADArMRIwEAYDVQQKEwlDb2Nr | ||
cm9hY2gxFTATBgNVBAMTDENvY2tyb2FjaCBDQTAeFw0yNDA2MTQxMjM5NTFaFw0y | ||
NTA2MTQxMjM5NTFaMD4xETAPBgNVBAsMCFNlY3VyaXR5MRIwEAYDVQQKDAlDb2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bzJFie+Jr5knwPPl | ||
-----END CERTIFICATE----- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
host all roachprod 0.0.0.0/0 password | ||
host all all all ldap ldapserver=crlcloud.dev ldapport=636 \"ldapbasedn=OU=AADDC Users,DC=crlcloud,DC=dev\" \"ldapbinddn=CN=Test User,OU=AADDC Users,DC=crlcloud,DC=dev\" ldapbindpasswd=~cockroachTest ldapsearchattribute=sAMAccountName \"ldapsearchfilter=(memberOf=CN=crl-crlcloud-dev-domain-sync-users,OU=AADDC Users,DC=crlcloud,DC=dev)\" | ||
host all root 0.0.0.0/0 password |
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