Fix LDAP test.