summaryrefslogtreecommitdiff
path: root/source4/dsdb/kcc
diff options
context:
space:
mode:
authorDave Craft <wimberosa@gmail.com>2011-12-04 11:04:49 -0600
committerAndrew Tridgell <tridge@samba.org>2011-12-08 11:48:17 +1100
commit0a181217bdf7e59a7e1f5506c8e050f67537f7f1 (patch)
tree2be8afee9817b1c6442ffb3becfd9ccd87e084ff /source4/dsdb/kcc
parentb58cb7ea932068982233e49c6e03be6a631f80da (diff)
downloadsamba-0a181217bdf7e59a7e1f5506c8e050f67537f7f1.tar.gz
samba-0a181217bdf7e59a7e1f5506c8e050f67537f7f1.tar.bz2
samba-0a181217bdf7e59a7e1f5506c8e050f67537f7f1.zip
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 <tridge@samba.org>
Diffstat (limited to 'source4/dsdb/kcc')
-rw-r--r--source4/dsdb/kcc/kcc_service.h11
1 files changed, 9 insertions, 2 deletions
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;