From: Howard Chu Date: Sun, 22 Jul 2007 16:42:01 +0000 (+0000) Subject: ITS#5040 don't touch modifyTimestamp and other opattrs when updating X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~313 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b0113c38cdb9e1c10c6cd7a36c4fc107709daf5c;p=openldap ITS#5040 don't touch modifyTimestamp and other opattrs when updating ppolicy opattrs --- diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c index df847b313b..cd73c6b1df 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -1119,6 +1119,7 @@ locked: op2.o_tag = LDAP_REQ_MODIFY; op2.o_callback = &cb; op2.orm_modlist = mod; + op2.orm_no_opattrs = 1; op2.o_dn = op->o_bd->be_rootdn; op2.o_ndn = op->o_bd->be_rootndn; op2.o_bd->bd_info = (BackendInfo *)on->on_info;