]> git.sur5r.net Git - openldap/commitdiff
ITS#5506 reset op2.o_extra
authorHoward Chu <hyc@openldap.org>
Mon, 12 May 2008 18:33:05 +0000 (18:33 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 12 May 2008 18:33:05 +0000 (18:33 +0000)
servers/slapd/overlays/syncprov.c

index 7bc5464ae6dde0cc76f5ee4b91a0b8c8b032ed8d..01602a79fa39a0d00f85fa14c19c698a3e2fea98 100644 (file)
@@ -1224,8 +1224,11 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
                        }
                }
 
-               if ( fc.fscope )
+               if ( fc.fscope ) {
                        op2 = *ss->s_op;
+                       op2.o_hdr = op->o_hdr;
+                       op2.o_extra = op->o_extra;
+               }
 
                /* check if current o_req_dn is in scope and matches filter */
                if ( fc.fscope && test_filter( &op2, e, ss->s_op->ors_filter ) ==