From 74e95cfd9d3939dfe9417d79d2f6fc79b361405f Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 16 Apr 2013 17:04:43 +0200 Subject: Active Directory dynamic DNS updates https://fedorahosted.org/sssd/ticket/1504 Implements dynamic DNS updates for the AD provider. By default, the updates also update the reverse zone and run periodically every 24 hours. --- src/providers/ad/ad_common.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/providers/ad/ad_common.h') diff --git a/src/providers/ad/ad_common.h b/src/providers/ad/ad_common.h index 7be15ba9b..792f32e08 100644 --- a/src/providers/ad/ad_common.h +++ b/src/providers/ad/ad_common.h @@ -64,6 +64,10 @@ struct ad_options { /* Auth and chpass Provider */ struct dp_option *auth; struct krb5_ctx *auth_ctx; + + /* Dynamic DNS updates */ + struct be_resolv_ctx *be_res; + struct be_nsupdate_ctx *dyndns_ctx; }; errno_t @@ -91,4 +95,13 @@ ad_get_auth_options(TALLOC_CTX *mem_ctx, struct be_ctx *bectx, struct dp_option **_opts); +errno_t +ad_get_dyndns_options(struct be_ctx *be_ctx, + struct ad_options *ad_opts); + +/* AD dynamic DNS updates */ +errno_t ad_dyndns_init(struct be_ctx *be_ctx, + struct ad_options *ctx); +void ad_dyndns_timer(void *pvt); + #endif /* AD_COMMON_H_ */ -- cgit