summaryrefslogtreecommitdiff
path: root/src/providers/ipa/ipa_init.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-02-25 12:52:59 +0100
committerSimo Sorce <ssorce@redhat.com>2011-03-03 18:36:48 -0500
commitef2c477a605e2130be019d1a4bba6bdd02c54a9d (patch)
tree17a9b384981bbc7816dd12fa4732a78f29cf5d33 /src/providers/ipa/ipa_init.c
parent57d6586b06dd833330f7f9b125a81b5acabfa1a7 (diff)
downloadsssd-ef2c477a605e2130be019d1a4bba6bdd02c54a9d.tar.gz
sssd-ef2c477a605e2130be019d1a4bba6bdd02c54a9d.tar.bz2
sssd-ef2c477a605e2130be019d1a4bba6bdd02c54a9d.zip
Fixes for dynamic DNS update
The current code assumed that only one server is given in the ipa_server config option and fails if multiple servers were given. To fix this nsupdate is first called without a server name assuming that nsupdate is able to find the name of the master DNS server of the zone by reading the SOA record. If this fails the IP address of the currently active LDAP server is used and nsupdate is called again. If there is no default realm given in /etc/krb5.conf nsupdate start trying to find a realm based on the DNS domain which might lead to wrong results. To be on the safe side the realm was added to the message send to nsupdate.
Diffstat (limited to 'src/providers/ipa/ipa_init.c')
0 files changed, 0 insertions, 0 deletions