Update LDAP default config
Fix minor issues