Commit 9b50a694 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#5040 don't touch modifyTimestamp and other opattrs when updating

ppolicy opattrs
parent 0939260b
......@@ -1120,6 +1120,8 @@ locked:
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;
/* Don't touch modifyTimestamp etc */
SLAP_DBFLAGS( op2.o_bd ) |= SLAP_DBFLAG_NOLASTMOD;
rc = op->o_bd->be_modify( &op2, &r2 );
slap_mods_free( mod, 1 );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment