From: Howard Chu Date: Fri, 6 Mar 2009 03:57:35 +0000 (+0000) Subject: ITS#6003, #5916 fix ldap_back_entry_get_rw, no deref here X-Git-Tag: ACLCHECK_0~734 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4fc4cb799503c47174cf23f640237b0b3eba1ba8;p=openldap ITS#6003, #5916 fix ldap_back_entry_get_rw, no deref here --- diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index b3a68b3141..480344415e 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -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;