]> git.sur5r.net Git - openldap/commitdiff
Use permissive modify on contextCSN
authorHoward Chu <hyc@openldap.org>
Mon, 5 Feb 2007 05:25:13 +0000 (05:25 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 5 Feb 2007 05:25:13 +0000 (05:25 +0000)
servers/slapd/syncrepl.c

index 41c45f953258cc958249677ffd5d7b8be2d01825..991a0c7d2c34ece905f63be197807a49c1c838df 100644 (file)
@@ -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 );