]> git.sur5r.net Git - openldap/commitdiff
ITS#6003, #5916 fix ldap_back_entry_get_rw, no deref here
authorHoward Chu <hyc@openldap.org>
Fri, 6 Mar 2009 03:57:35 +0000 (03:57 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 6 Mar 2009 03:57:35 +0000 (03:57 +0000)
servers/slapd/back-ldap/search.c

index b3a68b31411e21f23fe4793354cf1e228e3138b6..480344415e94802bc9dedbf53e64281562644b53 100644 (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;