kcc_service struct gets a intrasite_code
boolean that is filled in via parametric parameter
kccsrv:intrasite = [true/false] in smb.conf. This
will allow us to continue to utilize old simple
KCC topology as continuing default while newer
intra-site topology matures further.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Jul 14 00:19:12 CEST 2011 on sn-devel-104
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);
time_t last_deleted_check;
bool am_rodc;
+
+ /* run new intra-site topology code */
+ bool intrasite_code;
};
struct kcc_connection_list;