mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-11 23:03:21 -05:00
ITS#10440 slapo-memberof: do not propagate request controls to internal ops
This commit is contained in:
parent
663d956922
commit
73a97a774a
1 changed files with 6 additions and 0 deletions
|
|
@ -292,6 +292,8 @@ memberof_isGroupOrMember( Operation *op, memberof_cbinfo_t *mci )
|
|||
op2.ors_slimit = 1;
|
||||
op2.ors_tlimit = SLAP_NO_LIMIT;
|
||||
|
||||
memset( op2.o_ctrlflag, 0, sizeof(op2.o_ctrlflag) );
|
||||
|
||||
if ( mci->what & MEMBEROF_IS_GROUP ) {
|
||||
SlapReply rs2 = { REP_RESULT };
|
||||
|
||||
|
|
@ -389,6 +391,8 @@ memberof_value_modify(
|
|||
op2.orm_no_opattrs = 1;
|
||||
op2.o_dont_replicate = 1;
|
||||
|
||||
memset( op2.o_ctrlflag, 0, sizeof(op2.o_ctrlflag) );
|
||||
|
||||
/* main op has already completed if we got here, so even
|
||||
* if its abandon flag was set we must complete as well. */
|
||||
op2.o_abandon = 0;
|
||||
|
|
@ -568,6 +572,8 @@ memberof_addcheck( Operation *op )
|
|||
mo_addcheck_t ma;
|
||||
SlapReply rs = {REP_SEARCH};
|
||||
|
||||
memset( o.o_ctrlflag, 0, sizeof(o.o_ctrlflag) );
|
||||
|
||||
o.o_dn = op->o_bd->be_rootdn;
|
||||
o.o_ndn = op->o_bd->be_rootndn;
|
||||
o.o_bd->bd_info = (BackendInfo *)on->on_info;
|
||||
|
|
|
|||
Loading…
Reference in a new issue