From 0a181217bdf7e59a7e1f5506c8e050f67537f7f1 Mon Sep 17 00:00:00 2001 From: Dave Craft Date: Sun, 4 Dec 2011 11:04:49 -0600 Subject: Add subreq and status to kcc_service struct The subreq and status fields in the kcc_service struct are added for execution management of the external samba_kcc python script. Signed-off-by: Andrew Tridgell --- source4/dsdb/kcc/kcc_service.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/dsdb/kcc/kcc_service.h b/source4/dsdb/kcc/kcc_service.h index 1404a9a3cd..1e6d35eb78 100644 --- a/source4/dsdb/kcc/kcc_service.h +++ b/source4/dsdb/kcc/kcc_service.h @@ -77,14 +77,21 @@ struct kccsrv_service { /* here we have a reference to the timed event the schedules the periodic stuff */ struct tevent_timer *te; + + /* samba_runcmd_send service for samba_kcc */ + struct tevent_req *subreq; + + /* return status of samba_kcc */ + NTSTATUS status; + } periodic; time_t last_deleted_check; bool am_rodc; - /* run new intra-site topology code */ - bool intrasite_code; + /* run new samba_kcc topology generator code */ + bool samba_kcc_code; }; struct kcc_connection_list; -- cgit