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_init.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/providers/ad/ad_init.c') diff --git a/src/providers/ad/ad_init.c b/src/providers/ad/ad_init.c index 4d109868..7ebe2a0e 100644 --- a/src/providers/ad/ad_init.c +++ b/src/providers/ad/ad_init.c @@ -36,6 +36,7 @@ #include "providers/krb5/krb5_init_shared.h" #include "providers/ad/ad_id.h" #include "providers/ad/ad_srv.h" +#include "providers/dp_dyndns.h" struct ad_options *ad_options = NULL; @@ -166,6 +167,13 @@ sssm_ad_id_init(struct be_ctx *bectx, if (ret != EOK) goto done; } + ret = ad_dyndns_init(sdap_ctx->be, ad_options); + if (ret != EOK) { + DEBUG(SSSDBG_MINOR_FAILURE, + ("Failure setting up automatic DNS update\n")); + /* Continue without DNS updates */ + } + ret = sdap_id_setup_tasks(sdap_ctx); if (ret != EOK) { goto done; -- cgit