how to skip search reference when doing ldap search...
huican <[email protected]> Fri, 4 Feb 2011 10:54:23 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <0fb459f4-c8f4-4fd9-9acd-f552f8c2b484@t19g2000prd.googlegroups.com> |
Hello, I noticed that my AD server return LDAP_RES_SEARCH_ENTRY LDAP_RES_SEARCH_REFERENCE and LDAP_RES_SEARCH_RESULT when doing the ldap_search_ext(...), thus ldap_result(...) call will try to search reference for each LDAP_RES_SEARCH_REFERENCE message. Is there any way to skip reference search? I just wonder where is any place I can set such as in ldap_search_ext(..) or ldap_result(...) or anywhere else to achieve that? If the reference referring to a non-existing machine, it takes big time to timeout. Thanks huican ping