fix: actually load the server-specific part of the LDAP configuration

Fixes #1
This commit is contained in:
Emmanuel BENOîT 2024-07-26 11:26:09 +02:00
parent 2fef4d931d
commit 9e8010279b
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg

View file

@ -39,8 +39,8 @@ type (
// LDAP server configuration. This defines how to connect to a
// single, specific LDAP server.
tLdapServerConfig struct {
Host string `yaml:"host"`
tLdapConnectionConfig
Host string `yaml:"host"`
tLdapConnectionConfig `yaml:",inline"`
}
// LDAP attributes and base DN configuration