diff options
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/kcc/kcc_service.c | 6 | ||||
-rw-r--r-- | source4/dsdb/kcc/kcc_service.h | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/source4/dsdb/kcc/kcc_service.c b/source4/dsdb/kcc/kcc_service.c index b2360d81cd..5f7b537d14 100644 --- a/source4/dsdb/kcc/kcc_service.c +++ b/source4/dsdb/kcc/kcc_service.c @@ -235,6 +235,12 @@ static void kccsrv_task_init(struct task_server *task) return; } + /* (kccsrv:intrasite=true) will run newer intrasite replication + * topology code. + */ + service->intrasite_code = lpcfg_parm_bool(task->lp_ctx, NULL, "kccsrv", + "intrasite", false); + irpc_add_name(task->msg_ctx, "kccsrv"); IRPC_REGISTER(task->msg_ctx, drsuapi, DRSUAPI_DSEXECUTEKCC, kccsrv_execute_kcc, service); diff --git a/source4/dsdb/kcc/kcc_service.h b/source4/dsdb/kcc/kcc_service.h index f56488560a..1404a9a3cd 100644 --- a/source4/dsdb/kcc/kcc_service.h +++ b/source4/dsdb/kcc/kcc_service.h @@ -82,6 +82,9 @@ struct kccsrv_service { time_t last_deleted_check; bool am_rodc; + + /* run new intra-site topology code */ + bool intrasite_code; }; struct kcc_connection_list; |