mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
ITS#5548 use syncrepl Connection when evaluating filter and acl.
This commit is contained in:
parent
2688180f95
commit
06379f9cf9
1 changed files with 5 additions and 1 deletions
|
|
@ -1181,6 +1181,7 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
|
||||||
sprev = ss, ss=snext)
|
sprev = ss, ss=snext)
|
||||||
{
|
{
|
||||||
Operation op2;
|
Operation op2;
|
||||||
|
Opheader oh;
|
||||||
syncmatches *sm;
|
syncmatches *sm;
|
||||||
int found = 0;
|
int found = 0;
|
||||||
|
|
||||||
|
|
@ -1230,7 +1231,10 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
|
||||||
|
|
||||||
if ( fc.fscope ) {
|
if ( fc.fscope ) {
|
||||||
op2 = *ss->s_op;
|
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;
|
op2.o_extra = op->o_extra;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue