(ITS#6930) Socket leak in ldap_connect_to_path(too long path)