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

ITS#9311 - Contrib modules to be singular

parent aa782993
Pipeline #735 passed with stage
in 28 minutes and 8 seconds
...@@ -337,6 +337,7 @@ static int collect_error_msg_cb( Operation *op, SlapReply *rs) ...@@ -337,6 +337,7 @@ static int collect_error_msg_cb( Operation *op, SlapReply *rs)
int addpartial_init() int addpartial_init()
{ {
addpartial.on_bi.bi_type = "addpartial"; addpartial.on_bi.bi_type = "addpartial";
addpartial.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
addpartial.on_bi.bi_op_add = addpartial_add; addpartial.on_bi.bi_op_add = addpartial_add;
return (overlay_register(&addpartial)); return (overlay_register(&addpartial));
......
...@@ -630,6 +630,7 @@ int adremap_initialize() ...@@ -630,6 +630,7 @@ int adremap_initialize()
int i, code; int i, code;
adremap.on_bi.bi_type = "adremap"; adremap.on_bi.bi_type = "adremap";
adremap.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
adremap.on_bi.bi_db_init = adremap_db_init; adremap.on_bi.bi_db_init = adremap_db_init;
adremap.on_bi.bi_db_destroy = adremap_db_destroy; adremap.on_bi.bi_db_destroy = adremap_db_destroy;
adremap.on_bi.bi_op_search = adremap_search; adremap.on_bi.bi_op_search = adremap_search;
......
...@@ -245,6 +245,7 @@ allop_init() ...@@ -245,6 +245,7 @@ allop_init()
{ {
allop.on_bi.bi_type = "allop"; allop.on_bi.bi_type = "allop";
allop.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
allop.on_bi.bi_db_config = allop_db_config; allop.on_bi.bi_db_config = allop_db_config;
allop.on_bi.bi_db_destroy = allop_db_destroy; allop.on_bi.bi_db_destroy = allop_db_destroy;
......
...@@ -475,6 +475,7 @@ aa_initialize( void ) ...@@ -475,6 +475,7 @@ aa_initialize( void )
aa.on_bi.bi_type = "allowed"; aa.on_bi.bi_type = "allowed";
aa.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
aa.on_bi.bi_operational = aa_operational; aa.on_bi.bi_operational = aa_operational;
/* aa schema integration */ /* aa schema integration */
......
...@@ -374,6 +374,7 @@ authzid_initialize( void ) ...@@ -374,6 +374,7 @@ authzid_initialize( void )
authzid.on_bi.bi_type = "authzid"; authzid.on_bi.bi_type = "authzid";
authzid.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
authzid.on_bi.bi_db_init = authzid_db_init; authzid.on_bi.bi_db_init = authzid_db_init;
authzid.on_bi.bi_db_destroy = authzid_db_destroy; authzid.on_bi.bi_db_destroy = authzid_db_destroy;
authzid.on_bi.bi_op_bind = authzid_op_bind; authzid.on_bi.bi_op_bind = authzid_op_bind;
......
...@@ -2207,6 +2207,7 @@ autogroup_initialize(void) ...@@ -2207,6 +2207,7 @@ autogroup_initialize(void)
int rc = 0; int rc = 0;
autogroup.on_bi.bi_type = "autogroup"; autogroup.on_bi.bi_type = "autogroup";
autogroup.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
autogroup.on_bi.bi_db_open = autogroup_db_open; autogroup.on_bi.bi_db_open = autogroup_db_open;
autogroup.on_bi.bi_db_close = autogroup_db_close; autogroup.on_bi.bi_db_close = autogroup_db_close;
autogroup.on_bi.bi_db_destroy = autogroup_db_destroy; autogroup.on_bi.bi_db_destroy = autogroup_db_destroy;
......
...@@ -332,6 +332,7 @@ int ...@@ -332,6 +332,7 @@ int
cloak_initialize( void ) { cloak_initialize( void ) {
int rc; int rc;
cloak_ovl.on_bi.bi_type = "cloak"; cloak_ovl.on_bi.bi_type = "cloak";
cloak_ovl.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
cloak_ovl.on_bi.bi_db_destroy = cloak_db_destroy; cloak_ovl.on_bi.bi_db_destroy = cloak_db_destroy;
cloak_ovl.on_bi.bi_op_search = cloak_search; cloak_ovl.on_bi.bi_op_search = cloak_search;
cloak_ovl.on_bi.bi_cf_ocs = cloakocs; cloak_ovl.on_bi.bi_cf_ocs = cloakocs;
......
...@@ -229,6 +229,7 @@ denyop_initialize( void ) ...@@ -229,6 +229,7 @@ denyop_initialize( void )
{ {
memset( &denyop, 0, sizeof( slap_overinst ) ); memset( &denyop, 0, sizeof( slap_overinst ) );
denyop.on_bi.bi_type = "denyop"; denyop.on_bi.bi_type = "denyop";
denyop.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
denyop.on_bi.bi_db_init = denyop_over_init; denyop.on_bi.bi_db_init = denyop_over_init;
denyop.on_bi.bi_db_config = denyop_config; denyop.on_bi.bi_db_config = denyop_config;
denyop.on_bi.bi_db_destroy = denyop_destroy; denyop.on_bi.bi_db_destroy = denyop_destroy;
......
...@@ -541,6 +541,7 @@ dupent_initialize( void ) ...@@ -541,6 +541,7 @@ dupent_initialize( void )
dupent.on_bi.bi_type = "dupent"; dupent.on_bi.bi_type = "dupent";
dupent.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
dupent.on_bi.bi_op_search = dupent_op_search; dupent.on_bi.bi_op_search = dupent_op_search;
return overlay_register( &dupent ); return overlay_register( &dupent );
......
...@@ -298,6 +298,7 @@ int lastbind_initialize() ...@@ -298,6 +298,7 @@ int lastbind_initialize()
ad_authTimestamp->ad_type->sat_flags |= SLAP_AT_MANAGEABLE; ad_authTimestamp->ad_type->sat_flags |= SLAP_AT_MANAGEABLE;
lastbind.on_bi.bi_type = "lastbind"; lastbind.on_bi.bi_type = "lastbind";
lastbind.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
lastbind.on_bi.bi_db_init = lastbind_db_init; lastbind.on_bi.bi_db_init = lastbind_db_init;
lastbind.on_bi.bi_db_close = lastbind_db_close; lastbind.on_bi.bi_db_close = lastbind_db_close;
lastbind.on_bi.bi_op_bind = lastbind_bind; lastbind.on_bi.bi_op_bind = lastbind_bind;
......
...@@ -933,6 +933,7 @@ int ...@@ -933,6 +933,7 @@ int
lastmod_initialize() lastmod_initialize()
{ {
lastmod.on_bi.bi_type = "lastmod"; lastmod.on_bi.bi_type = "lastmod";
lastmod.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
lastmod.on_bi.bi_db_init = lastmod_db_init; lastmod.on_bi.bi_db_init = lastmod_db_init;
lastmod.on_bi.bi_db_config = lastmod_db_config; lastmod.on_bi.bi_db_config = lastmod_db_config;
lastmod.on_bi.bi_db_destroy = lastmod_db_destroy; lastmod.on_bi.bi_db_destroy = lastmod_db_destroy;
......
...@@ -236,6 +236,7 @@ noopsrch_initialize( void ) ...@@ -236,6 +236,7 @@ noopsrch_initialize( void )
noopsrch.on_bi.bi_type = "noopsrch"; noopsrch.on_bi.bi_type = "noopsrch";
noopsrch.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
noopsrch.on_bi.bi_db_init = noopsrch_db_init; noopsrch.on_bi.bi_db_init = noopsrch_db_init;
noopsrch.on_bi.bi_db_destroy = noopsrch_db_destroy; noopsrch.on_bi.bi_db_destroy = noopsrch_db_destroy;
noopsrch.on_bi.bi_op_search = noopsrch_op_search; noopsrch.on_bi.bi_op_search = noopsrch_op_search;
......
...@@ -163,6 +163,7 @@ static ...@@ -163,6 +163,7 @@ static
int int
nops_initialize( void ) { nops_initialize( void ) {
nops_ovl.on_bi.bi_type = "nops"; nops_ovl.on_bi.bi_type = "nops";
nops_ovl.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
nops_ovl.on_bi.bi_op_modify = nops_modify; nops_ovl.on_bi.bi_op_modify = nops_modify;
return overlay_register( &nops_ovl ); return overlay_register( &nops_ovl );
} }
......
...@@ -1052,6 +1052,7 @@ smbk5pwd_initialize(void) ...@@ -1052,6 +1052,7 @@ smbk5pwd_initialize(void)
smbk5pwd.on_bi.bi_type = "smbk5pwd"; smbk5pwd.on_bi.bi_type = "smbk5pwd";
smbk5pwd.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
smbk5pwd.on_bi.bi_db_init = smbk5pwd_db_init; smbk5pwd.on_bi.bi_db_init = smbk5pwd_db_init;
smbk5pwd.on_bi.bi_db_open = smbk5pwd_db_open; smbk5pwd.on_bi.bi_db_open = smbk5pwd_db_open;
smbk5pwd.on_bi.bi_db_destroy = smbk5pwd_db_destroy; smbk5pwd.on_bi.bi_db_destroy = smbk5pwd_db_destroy;
......
...@@ -222,6 +222,7 @@ trace_initialize() ...@@ -222,6 +222,7 @@ trace_initialize()
{ {
trace.on_bi.bi_type = "trace"; trace.on_bi.bi_type = "trace";
trace.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
trace.on_bi.bi_db_init = trace_db_init; trace.on_bi.bi_db_init = trace_db_init;
trace.on_bi.bi_db_open = trace_db_open; trace.on_bi.bi_db_open = trace_db_open;
trace.on_bi.bi_db_config = trace_db_config; trace.on_bi.bi_db_config = trace_db_config;
......
...@@ -296,6 +296,7 @@ usn_init( void ) ...@@ -296,6 +296,7 @@ usn_init( void )
memset( &usn, 0, sizeof( slap_overinst ) ); memset( &usn, 0, sizeof( slap_overinst ) );
usn.on_bi.bi_type = "usn"; usn.on_bi.bi_type = "usn";
usn.on_bi.bi_flags = SLAPO_BFLAG_SINGLE;
usn.on_bi.bi_db_init = usn_db_init; usn.on_bi.bi_db_init = usn_db_init;
usn.on_bi.bi_db_destroy = usn_db_destroy; usn.on_bi.bi_db_destroy = usn_db_destroy;
usn.on_bi.bi_db_open = usn_db_open; usn.on_bi.bi_db_open = usn_db_open;
......
Supports Markdown
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