jeanpaulandre
11/20/2022, 6:03 PM[[servers]]
# Ldap server host (specify multiple hosts space separated)
host = "xxxxx.xxxxxxxxxxxxx.xx"
# Default port is 389 or 636 if use_ssl = true
port = 3890
# Set to true if LDAP server should use an encrypted TLS connection (either with STARTTLS or LDAPS)
use_ssl = false
# If set to true, use LDAP with STARTTLS instead of LDAPS
start_tls = false
# set to true if you want to skip SSL cert validation
ssl_skip_verify = false
# Search user bind dn
bind_dn = "cn=admin,ou=people,dc=xxxxxxxxxxxxx,dc=xx"
# Search user bind password
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
bind_password = "xxxxxxxxxxxxxxx"
# User search filter
search_filter = "(uid=%s)"
# An array of base dns to search through
search_base_dns = ["dc=xxxxxxxxxxxxx,dc=xx"]
# Specify names of the LDAP attributes your LDAP uses
[servers.attributes]
member_of = "memberOf"
email = "mail"
name = "givenName"
surname = "sn"
username = "uid"
Do anyone have an idea ?