trouble getting entry from ldap server using ldap_search_ext_s