mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#5548 use syncrepl Connection when evaluating filter and acl.
This commit is contained in:
parent
2688180f95
commit
06379f9cf9
@ -1181,6 +1181,7 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
|
||||
sprev = ss, ss=snext)
|
||||
{
|
||||
Operation op2;
|
||||
Opheader oh;
|
||||
syncmatches *sm;
|
||||
int found = 0;
|
||||
|
||||
@ -1230,7 +1231,10 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
|
||||
|
||||
if ( fc.fscope ) {
|
||||
op2 = *ss->s_op;
|
||||
op2.o_hdr = op->o_hdr;
|
||||
oh = *op->o_hdr;
|
||||
oh.oh_conn = ss->s_op->o_conn;
|
||||
oh.oh_connid = ss->s_op->o_connid;
|
||||
op2.o_hdr = &oh;
|
||||
op2.o_extra = op->o_extra;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user