]> git.sur5r.net Git - openldap/commitdiff
ITS#6915 Don't replicate internal operations
authorHoward Chu <hyc@openldap.org>
Tue, 24 May 2011 18:14:58 +0000 (11:14 -0700)
committerHoward Chu <hyc@openldap.org>
Tue, 24 May 2011 18:15:25 +0000 (11:15 -0700)
servers/slapd/overlays/memberof.c

index 7697a085230aa63ea4d4178b3555f91d47ae65e3..502cb46fc1bd4f8037fe32dd158d21b4437bf918 100644 (file)
@@ -357,6 +357,10 @@ memberof_value_modify(
        op2.o_ndn = op->o_bd->be_rootndn;
        op2.orm_modlist = NULL;
 
+       /* Internal ops, never replicate these */
+       op2.orm_no_opattrs = 1;
+       op2.o_dont_replicate = 1;
+
        if ( !BER_BVISNULL( &mo->mo_ndn ) ) {
                ml = &mod[ mcnt ];
                ml->sml_numvals = 1;