memberof_cbinfo_t *mci, mcis;
OpExtra *oex;
+ if ( get_manageDSAit( op ))
+ return SLAP_CB_CONTINUE;
+
LDAP_SLIST_FOREACH( oex, &op->o_extra, oe_next ) {
if ( oex->oe_key == (void *)&memberof )
return SLAP_CB_CONTINUE;
if ( SLAP_ISGLOBALOVERLAY( c->be ) ) {
snprintf( c->cr_msg, sizeof( c->cr_msg ),
"addcheck functionality not supported "
- "when memberof is a global overlay",
- c->argv[ 1 ] );
+ "when memberof is a global overlay" );
Debug( LDAP_DEBUG_ANY, "%s: %s.\n",
c->log, c->cr_msg );
return 1;
op2.orm_no_opattrs = 1;
op2.o_dont_replicate = 1;
op2.o_opid = 0;
+ op2.o_managedsait = SLAP_CONTROL_CRITICAL;
/* Set our ModifiersName */
if ( SLAP_LASTMOD( op->o_bd ) ) {