From 21b49a09e79d87d3c0ea324603c17d1eed138391 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 5 Feb 2007 05:25:13 +0000 Subject: [PATCH] Use permissive modify on contextCSN --- servers/slapd/syncrepl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 41c45f9532..991a0c7d2c 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -2468,9 +2468,11 @@ syncrepl_updateCookie( else op->orm_modlist = &mod[1]; + op->o_permissive_modify = SLAP_CONTROL_CRITICAL; op->orm_no_opattrs = 1; rc = be->be_modify( op, &rs_modify ); op->o_msgid = 0; + op->o_permissive_modify = 0; if ( rs_modify.sr_err == LDAP_SUCCESS ) { slap_sync_cookie_free( &si->si_syncCookie, 0 ); -- 2.39.5