summaryrefslogtreecommitdiff
path: root/src/providers/ad/ad_opts.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-04-16 17:04:43 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-03 20:31:39 +0200
commit74e95cfd9d3939dfe9417d79d2f6fc79b361405f (patch)
treeb7f992efe22a0d9924e43d38a19f93726ec4187d /src/providers/ad/ad_opts.h
parent33df734b39538eeb870b118b7feea76f90bb004b (diff)
downloadsssd-74e95cfd9d3939dfe9417d79d2f6fc79b361405f.tar.gz
sssd-74e95cfd9d3939dfe9417d79d2f6fc79b361405f.tar.bz2
sssd-74e95cfd9d3939dfe9417d79d2f6fc79b361405f.zip
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.
Diffstat (limited to 'src/providers/ad/ad_opts.h')
-rw-r--r--src/providers/ad/ad_opts.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/providers/ad/ad_opts.h b/src/providers/ad/ad_opts.h
index c48be867..32bbe3db 100644
--- a/src/providers/ad/ad_opts.h
+++ b/src/providers/ad/ad_opts.h
@@ -238,4 +238,15 @@ struct sdap_attr_map ad_autofs_entry_map[] = {
SDAP_ATTR_MAP_TERMINATOR
};
+struct dp_option ad_dyndns_opts[] = {
+ { "dyndns_update", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
+ { "dyndns_refresh_interval", DP_OPT_NUMBER, { .number = 86400 }, NULL_NUMBER },
+ { "dyndns_iface", DP_OPT_STRING, NULL_STRING, NULL_STRING },
+ { "dyndns_ttl", DP_OPT_NUMBER, { .number = 3600 }, NULL_NUMBER },
+ { "dyndns_update_ptr", DP_OPT_BOOL, BOOL_TRUE, BOOL_FALSE },
+ { "dyndns_force_tcp", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
+ { "dyndns_auth", DP_OPT_STRING, { "gss-tsig" }, NULL_STRING },
+ DP_OPTION_TERMINATOR
+};
+
#endif /* AD_OPTS_H_ */