Auth: Add root and client certificate value fields in LDAP config (#88746)

* add root and client certificate value fields for LDAP

* update error messages for connection error
This commit is contained in:
Mihai Doarna
2024-06-10 18:13:15 +03:00
committed by GitHub
parent 06c30ee165
commit 0f936e2939
8 changed files with 289 additions and 28 deletions
+1
View File
@@ -42,6 +42,7 @@ func (s *Service) supportBundleCollector(context.Context) (*supportbundles.Suppo
for _, server := range ldapConfig.Servers {
server.BindPassword = "********" // censor password on config dump
server.ClientKey = "********" // censor client key on config dump
server.ClientKeyValue = "********"
if !strings.Contains(server.SearchFilter, server.Attr.Username) {
bWriter.WriteString(fmt.Sprintf(