LDAP - allow specifying certificate file
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-03-10 18:22:51 -06:00
parent e6a7070589
commit 6a4f82611b
2 changed files with 12 additions and 1 deletions

View File

@@ -5,6 +5,12 @@ const ldap_server = {
max_connections: env('LDAP_MAX_CONNECTIONS'),
interface: env('LDAP_LISTEN_INTERFACE', '0.0.0.0'),
ssl: {
enable: env('LDAP_SSL_ENABLE', false),
certificate: env('LDAP_CERT_PATH'),
key: env('LDAP_CERT_KEY_PATH'),
},
schema: {
base_dc: env('LDAP_BASE_DC', 'dc=example,dc=com'),
authentication_base: env('LDAP_AUTH_BASE', 'ou=people'),