feat: support LDAPS protocol (#3390)

* feat: support ldaps

* fix: unencrypted port 389 not work after enable SSL
fix: remove useless conf and set ldapsCertId to empty
fix: return and log getTLSconfig error

* fix: remove unused setting

* fix: check nil condition

* fix: not log fail when certId is empty
This commit is contained in:
DacongDA
2024-12-07 21:26:07 +08:00
committed by GitHub
parent 922b19c64b
commit 58e1c28f7c
2 changed files with 55 additions and 5 deletions

View File

@ -25,6 +25,8 @@ enableErrorMask = false
enableGzip = true
inactiveTimeoutMinutes =
ldapServerPort = 389
ldapsCertId = ""
ldapsServerPort = 636
radiusServerPort = 1812
radiusSecret = "secret"
quota = {"organization": -1, "user": -1, "application": -1, "provider": -1}