Commit aa782993 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#9311 - Correctly mark overlays as singular

parent 650b1404
......@@ -219,6 +219,7 @@ int auditlog_initialize() {
int rc;
auditlog.on_bi.bi_type = "auditlog";
auditlog.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
auditlog.on_bi.bi_db_init = auditlog_db_init;
auditlog.on_bi.bi_db_destroy = auditlog_db_destroy;
auditlog.on_response = auditlog_response;
......
......@@ -1088,6 +1088,7 @@ int autoca_initialize() {
int i, code;
autoca.on_bi.bi_type = "autoca";
autoca.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
autoca.on_bi.bi_db_init = autoca_db_init;
autoca.on_bi.bi_db_destroy = autoca_db_destroy;
autoca.on_bi.bi_db_open = autoca_db_open;
......
......@@ -419,6 +419,7 @@ int collect_initialize() {
int code;
collect.on_bi.bi_type = "collect";
collect.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
collect.on_bi.bi_db_destroy = collect_destroy;
collect.on_bi.bi_op_modify = collect_modify;
collect.on_response = collect_response;
......
......@@ -1207,6 +1207,7 @@ constraint_initialize( void ) {
int rc;
constraint_ovl.on_bi.bi_type = "constraint";
constraint_ovl.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
constraint_ovl.on_bi.bi_db_destroy = constraint_destroy;
constraint_ovl.on_bi.bi_op_add = constraint_add;
constraint_ovl.on_bi.bi_op_modify = constraint_update;
......
......@@ -1992,6 +1992,7 @@ dds_initialize()
dds.on_bi.bi_type = "dds";
dds.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
dds.on_bi.bi_db_init = dds_db_init;
dds.on_bi.bi_db_open = dds_db_open;
dds.on_bi.bi_db_close = dds_db_close;
......
......@@ -564,6 +564,7 @@ int
deref_initialize(void)
{
deref.on_bi.bi_type = "deref";
deref.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
deref.on_bi.bi_db_init = deref_db_init;
deref.on_bi.bi_db_open = deref_db_open;
#ifdef SLAP_CONFIG_DELETE
......
......@@ -208,6 +208,7 @@ int dyngroup_initialize() {
int code;
dyngroup.on_bi.bi_type = "dyngroup";
dyngroup.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
dyngroup.on_bi.bi_db_destroy = dyngroup_destroy;
dyngroup.on_response = dyngroup_response;
......
......@@ -2657,6 +2657,7 @@ dynlist_initialize(void)
dynlist.on_bi.bi_obsolete_names = obsolete_names;
#endif
dynlist.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
dynlist.on_bi.bi_db_init = dynlist_db_init;
dynlist.on_bi.bi_db_config = config_generic_wrapper;
dynlist.on_bi.bi_db_open = dynlist_db_open;
......
......@@ -185,6 +185,7 @@ int
seqmod_initialize()
{
seqmod.on_bi.bi_type = "seqmod";
seqmod.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
seqmod.on_bi.bi_db_open = seqmod_db_open;
seqmod.on_bi.bi_db_close = seqmod_db_close;
......
......@@ -1406,6 +1406,7 @@ int sssvlv_initialize()
int rc;
sssvlv.on_bi.bi_type = "sssvlv";
sssvlv.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
sssvlv.on_bi.bi_db_init = sssvlv_db_init;
sssvlv.on_bi.bi_db_destroy = sssvlv_db_destroy;
sssvlv.on_bi.bi_db_open = sssvlv_db_open;
......
......@@ -1514,6 +1514,7 @@ unique_initialize()
memset (&unique, 0, sizeof(unique));
unique.on_bi.bi_type = "unique";
unique.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
unique.on_bi.bi_db_init = unique_db_init;
unique.on_bi.bi_db_destroy = unique_db_destroy;
unique.on_bi.bi_op_add = unique_add;
......
......@@ -545,6 +545,7 @@ int valsort_initialize( void )
int rc;
valsort.on_bi.bi_type = "valsort";
valsort.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
valsort.on_bi.bi_db_destroy = valsort_destroy;
valsort.on_bi.bi_db_open = valsort_db_open;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment