                    ::image-process-max-threads
                    ::ldap-auth-host
                    ::ldap-auth-port
-                   ::ldap-auth-version
                    ::ldap-bind-dn
                    ::ldap-bind-password
                    ::ldap-auth-ssl

(s/def ::ldap-auth-email-attribute ::us/string)
(s/def ::ldap-auth-fullname-attribute ::us/string)
(s/def ::ldap-auth-avatar-attribute ::us/string)
(s/def ::ldap-auth-isactivedirectory ::us/boolean)

(s/def ::config
  (s/keys :opt-un [::http-server-cors

                   ::ldap-auth-username-attribute
                   ::ldap-auth-email-attribute
                   ::ldap-auth-fullname-attribute
                   ::ldap-auth-avatar-attribute]))

(defn env->config
  [env]
