Configured ldap settings in loginldap plugin in config.ini.php, however matomo UI isn't showing it

We have deployed matomo in Nomad with docker driver and loading configuration with config.ini.php. I have configured connection details in loginldap plugin as below however matomo UI isn’t showing it.

[LoginLdap]
enabled = 1
ldap_enabled = 1
ldap_host = “ldap01."
ldap_port = 389
ldap_search_base = "dc=
,dc=
**”

Can you please suggest how I can populate it in UI ?

Thanks,

dealing with the same issue now. did you find out a way to configure LoginLdap via config.ini.php file?

It’s best to use the UI, but here’s an example of what the entry in my config.ini looks like:

[LoginLdap]
servers[] = "server"

[LoginLdap_server]
hostname = "host.docker.internal"
port = 389
base_dn = "dc=test-ldap,dc=local"
admin_user = "cn=admin,dc=test-ldap,dc=local"
admin_pass = "{mySecurePassword}"
start_tls = 0

Note that the server name is used as a suffix to LoginLdap_ to indicate which server the settings are for. Also note that I’m using host.docker.internal as the host since I’m running Matomo in a Docker container using DDEV.