0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 16:00:19 -05:00

🔧 LDAP authentication config with better default values

Co-authored-by: Mathieu Brunot <mathieu.brunot@monogramm.io>
This commit is contained in:
Vitaly Kornilov 2020-07-28 13:48:09 +03:00 committed by Andrey Antukh
parent d1c409ce90
commit 2d60ec9dee

View file

@ -43,22 +43,22 @@
:allow-demo-users true
:registration-enabled true
:registration-domain-whitelist ""
:debug-humanize-transit true})
:debug-humanize-transit true
;; LDAP auth disabled by default
;; LDAP auth disabled by default. Set ldap-auth-host to enable
;:ldap-auth-host "ldap.mysupercompany.com"
;:ldap-auth-port 636
;:ldap-auth-version "3"
;:ldap-auth-port 389
:ldap-auth-version "3"
;:ldap-bind-dn "cn=admin,dc=ldap,dc=mysupercompany,dc=com"
;:ldap-bind-password "verysecure"
;:ldap-auth-ssl false
;:ldap-auth-starttls true
;:ldap-auth-starttls false
;:ldap-auth-base-dn "ou=People,dc=ldap,dc=mysupercompany,dc=com"
;:ldap-auth-user-query "(|(uid=$username)(mail=$username))"
;:ldap-auth-username-attribute "uid"
;:ldap-auth-email-attribute "mail"
;:ldap-auth-fullname-attribute "displayname"
;:ldap-auth-avatar-attribute "jpegPhoto"
:ldap-auth-user-query "(|(uid=$username)(mail=$username))"
:ldap-auth-username-attribute "uid"
:ldap-auth-email-attribute "mail"
:ldap-auth-fullname-attribute "displayName"
:ldap-auth-avatar-attribute "jpegPhoto"})
(s/def ::http-server-port ::us/integer)
(s/def ::http-server-debug ::us/boolean)