ldap_search_s hangs with ms active directory