"user_pass_attribute": config_ldap.ldap_user_pass_attribute,
"user_enabled_mask": str(config_ldap.ldap_user_enabled_mask),
"user_enabled_default": config_ldap.ldap_user_enabled_default,
- "user_enabled_invert": config_ldap.ldap_user_enabled_invert,
+ "user_enabled_invert": str(config_ldap.ldap_user_enabled_invert),
"group_objectclass": config_ldap.ldap_group_objectclass,
}
ldap_envs = {
ldap_envs["LDAP_TLS_CACERT_BASE64"] = "tls_cacert_base64"
if config_ldap.ldap_use_starttls:
- ldap_secrets["use_starttls"] = config_ldap.ldap_use_starttls
+ ldap_secrets["use_starttls"] = str(config_ldap.ldap_use_starttls)
ldap_secrets["tls_cacert_base64"] = config_ldap.ldap_tls_cacert_base64
ldap_secrets["tls_req_cert"] = config_ldap.ldap_tls_req_cert
ldap_envs["LDAP_USE_STARTTLS"] = "use_starttls"