ITS#6003, #5916 fix ldap_back_entry_get_rw, no deref here

This commit is contained in:
Howard Chu 2009-03-06 03:57:35 +00:00
parent 3201bacfff
commit 4fc4cb7995

View file

@ -930,7 +930,7 @@ retry:
/* TODO: timeout? */
rc = ldap_pvt_search_s( lc->lc_ld, ndn->bv_val, LDAP_SCOPE_BASE, filter,
attrp, 0, ctrls, NULL,
NULL, LDAP_NO_LIMIT, op->ors_deref, &result );
NULL, LDAP_NO_LIMIT, 0, &result );
if ( rc != LDAP_SUCCESS ) {
if ( rc == LDAP_SERVER_DOWN && do_retry ) {
do_retry = 0;