fruitbasket/modules/ldap/0002-both-ldap-and-ldaps.patch

14 lines
415 B
Diff
Raw Permalink Normal View History

diff --git a/cmd/orchestrator/ldap.go b/cmd/orchestrator/ldap.go
index ed0d466..a672046 100644
--- a/cmd/orchestrator/ldap.go
+++ b/cmd/orchestrator/ldap.go
@@ -130,7 +130,7 @@ func runLDAPServer(environment map[string]string) {
bindURL := "ldap:///"
if environment["PORTUNUS_SLAPD_TLS_CERTIFICATE"] != "" {
- bindURL = "ldaps:///"
+ bindURL = "ldap:/// ldaps:///"
}
logg.Info("starting LDAP server")