Fix LDAP configuration setup