[core] Fix LDAP config