]> git.sur5r.net Git - openldap/commitdiff
ITS#5040 don't touch modifyTimestamp and other opattrs when updating
authorHoward Chu <hyc@openldap.org>
Sun, 22 Jul 2007 16:42:01 +0000 (16:42 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 22 Jul 2007 16:42:01 +0000 (16:42 +0000)
ppolicy opattrs

servers/slapd/overlays/ppolicy.c

index df847b313b8d0ad5abb9e0206acf878e3e286e88..cd73c6b1df11df4da8a5e50e2138ab617ba48b94 100644 (file)
@@ -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;