diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-09 14:20:28 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-03 20:22:37 +0200 |
commit | 04868f1573f4b26ef34610b6d7069172f93bd8ab (patch) | |
tree | 25585171d9bfde286ffbd0add7a2fad64240e6ed /src/providers/ipa/ipa_opts.h | |
parent | 9cb46bc62f22e0104f1b41a423b014c281ef5fc2 (diff) | |
download | sssd-04868f1573f4b26ef34610b6d7069172f93bd8ab.tar.gz sssd-04868f1573f4b26ef34610b6d7069172f93bd8ab.tar.xz sssd-04868f1573f4b26ef34610b6d7069172f93bd8ab.zip |
Convert IPA-specific options to be back-end agnostic
This patch introduces new options for dynamic DNS updates that are not
specific to any back end. The current ipa dyndns options are still
usable, just with a deprecation warning.
Diffstat (limited to 'src/providers/ipa/ipa_opts.h')
-rw-r--r-- | src/providers/ipa/ipa_opts.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/providers/ipa/ipa_opts.h b/src/providers/ipa/ipa_opts.h index 6adbdd96a..392fcd86f 100644 --- a/src/providers/ipa/ipa_opts.h +++ b/src/providers/ipa/ipa_opts.h @@ -35,9 +35,6 @@ struct dp_option ipa_basic_opts[] = { { "ipa_server", DP_OPT_STRING, NULL_STRING, NULL_STRING }, { "ipa_backup_server", DP_OPT_STRING, NULL_STRING, NULL_STRING }, { "ipa_hostname", DP_OPT_STRING, NULL_STRING, NULL_STRING }, - { "ipa_dyndns_update", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE }, - { "ipa_dyndns_ttl", DP_OPT_NUMBER, { .number = 1200}, NULL_NUMBER}, - { "ipa_dyndns_iface", DP_OPT_STRING, NULL_STRING, NULL_STRING}, { "ipa_hbac_search_base", DP_OPT_STRING, NULL_STRING, NULL_STRING}, { "ipa_host_search_base", DP_OPT_STRING, NULL_STRING, NULL_STRING }, { "ipa_selinux_search_base", DP_OPT_STRING, NULL_STRING, NULL_STRING }, @@ -54,6 +51,13 @@ struct dp_option ipa_basic_opts[] = { DP_OPTION_TERMINATOR }; +struct dp_option ipa_dyndns_opts[] = { + { "dyndns_update", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE }, + { "dyndns_iface", DP_OPT_STRING, NULL_STRING, NULL_STRING }, + { "dyndns_ttl", DP_OPT_NUMBER, { .number = 1200 }, NULL_NUMBER }, + DP_OPTION_TERMINATOR +}; + struct dp_option ipa_def_ldap_opts[] = { { "ldap_uri", DP_OPT_STRING, NULL_STRING, NULL_STRING }, { "ldap_backup_uri", DP_OPT_STRING, NULL_STRING, NULL_STRING }, |