fix lw ldap config