summaryrefslogtreecommitdiff
path: root/src/external
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-05-02 07:48:26 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-05-16 13:28:14 -0400
commit48a038d077ed2de18a5211e010c18ab680107293 (patch)
tree935c9f46ddf480f9482ed545b5dfda0e0a739112 /src/external
parentaf971fb6cf853c3a5f41aa00918013903aba1ff3 (diff)
downloadsssd-48a038d077ed2de18a5211e010c18ab680107293.tar.gz
sssd-48a038d077ed2de18a5211e010c18ab680107293.tar.bz2
sssd-48a038d077ed2de18a5211e010c18ab680107293.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/external')
-rw-r--r--src/external/nsupdate.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/src/external/nsupdate.m4 b/src/external/nsupdate.m4
new file mode 100644
index 00000000..6e18f017
--- /dev/null
+++ b/src/external/nsupdate.m4
@@ -0,0 +1,8 @@
+AC_PATH_PROG(NSUPDATE, nsupdate)
+AC_MSG_CHECKING(for nsupdate)
+if test -x "$NSUPDATE"; then
+ AC_DEFINE_UNQUOTED([NSUPDATE_PATH], ["$NSUPDATE"], [The path to nsupdate])
+ AC_MSG_RESULT(yes)
+else
+ AC_MSG_ERROR([no. nsupdate is not available])
+fi