[Issue 10297] LDAP initialization does unnecessary resolution of hostname