diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-02 07:48:26 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-07 17:14:32 -0400 |
commit | 973b7c27c0b294b8b2f120296f64c6a3a36e44b7 (patch) | |
tree | 657daeb7e60b8710f73fe6215407becc3c7f5b22 /src/config | |
parent | 66da80489c0114878043b40592c5f47d41eb0ffd (diff) | |
download | sssd-973b7c27c0b294b8b2f120296f64c6a3a36e44b7.tar.gz sssd-973b7c27c0b294b8b2f120296f64c6a3a36e44b7.tar.xz sssd-973b7c27c0b294b8b2f120296f64c6a3a36e44b7.zip |
Add dynamic DNS updates to FreeIPA
This adds two new options:
ipa_dyndns_update: Boolean value to select whether this client
should automatically update its IP address in FreeIPA DNS.
ipa_dyndns_iface: Choose an interface manually to use for
updating dynamic DNS. Default is to use the interface associated
with the LDAP connection to FreeIPA.
This patch supports A and AAAA records. It relies on the presence
of the nsupdate tool from the bind-utils package to perform the
actual update step. The location of this utility is set at build
time, but its availability is determined at runtime (so clients
that do not require dynamic update capability do not need to meet
this dependency).
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/SSSDConfig.py | 2 | ||||
-rw-r--r-- | src/config/etc/sssd.api.d/sssd-ipa.conf | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/SSSDConfig.py b/src/config/SSSDConfig.py index 18df97904..ef16bb973 100644 --- a/src/config/SSSDConfig.py +++ b/src/config/SSSDConfig.py @@ -87,6 +87,8 @@ option_strings = { 'ipa_domain' : _('IPA domain'), 'ipa_server' : _('IPA server address'), 'ipa_hostname' : _('IPA client hostname'), + 'ipa_dyndns_update' : _("Whether to automatically update the client's DNS entry in FreeIPA"), + 'ipa_dyndns_iface' : _("The interface whose IP should be used for dynamic DNS updates"), # [provider/krb5] 'krb5_kdcip' : _('Kerberos server address'), diff --git a/src/config/etc/sssd.api.d/sssd-ipa.conf b/src/config/etc/sssd.api.d/sssd-ipa.conf index f71498cc2..7fbc312d9 100644 --- a/src/config/etc/sssd.api.d/sssd-ipa.conf +++ b/src/config/etc/sssd.api.d/sssd-ipa.conf @@ -2,6 +2,8 @@ ipa_domain = str, None, true ipa_server = str, None, true ipa_hostname = str, None, false +ipa_dyndns_update = bool, None, false +ipa_dyndns_iface = str, None, false ldap_uri = str, None, false ldap_search_base = str, None, false ldap_schema = str, None, false |