Fixing ldap test.