be_monitor = be;
/* indicate system schema supported */
- be->be_flags |= SLAP_BFLAG_MONITOR;
+ SLAP_DBFLAGS(be) |= SLAP_BFLAG_MONITOR;
dn.bv_val = SLAPD_MONITOR_DN;
dn.bv_len = sizeof( SLAPD_MONITOR_DN ) - 1;
return 1;
} else {
- be->be_flags |= SLAP_DBFLAG_GLUE_SUBORDINATE;
+ SLAP_DBFLAGS(be) |= SLAP_DBFLAG_GLUE_SUBORDINATE;
num_subordinates++;
}
}
if ( strcasecmp( cargv[1], "on" ) == 0 ) {
if ( be ) {
- be->be_flags &= ~SLAP_DBFLAG_NOLASTMOD;
+ SLAP_DBFALGS(be) &= ~SLAP_DBFLAG_NOLASTMOD;
} else {
lastmod = 1;
}
} else {
if ( be ) {
- be->be_flags |= SLAP_DBFLAG_NOLASTMOD;
+ SLAP_DBFALGS(be) |= SLAP_DBFLAG_NOLASTMOD;
} else {
lastmod = 0;
}
si->si_provideruri == NULL ? "(null)" : si->si_provideruri, 0, 0 );
#endif
if ( !si->si_schemachecking ) {
- be->be_flags |= SLAP_DBFLAG_NO_SCHEMA_CHECK;
+ SLAP_DBFLAGS(be) |= SLAP_DBFLAG_NO_SCHEMA_CHECK;
}
si->si_be = be;
LDAP_STAILQ_INSERT_TAIL( &be->be_syncinfo, si, si_next );