[Issue 10049] ldapsearch can't contact LDAP