]> git.sur5r.net Git - openldap/commitdiff
Fix ITS#4133, reset subtree search req_dn
authorHoward Chu <hyc@openldap.org>
Fri, 9 Dec 2005 02:08:08 +0000 (02:08 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 9 Dec 2005 02:08:08 +0000 (02:08 +0000)
servers/slapd/backglue.c

index 5102fac5d18edfcae5bc5d7f04eb6e7be369882c..1031e7e23285af677cd1dbcb0fb1d494f0f9bfbf 100644 (file)
@@ -339,6 +339,8 @@ glue_op_search ( Operation *op, SlapReply *rs )
                                if ( rs->sr_err == LDAP_NO_SUCH_OBJECT ) {
                                        gs.err = LDAP_SUCCESS;
                                }
+                               op->o_req_dn = dn;
+                               op->o_req_ndn = ndn;
 
                        } else if (dnIsSuffix(&ndn, &op->o_bd->be_nsuffix[0])) {
                                rs->sr_err = op->o_bd->be_search( op, rs );