diff options
author | Sumit Bose <sbose@redhat.com> | 2011-02-25 12:52:59 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2011-03-03 18:36:48 -0500 |
commit | ef2c477a605e2130be019d1a4bba6bdd02c54a9d (patch) | |
tree | 17a9b384981bbc7816dd12fa4732a78f29cf5d33 /src/sss_client/nss_netgroup.c | |
parent | 57d6586b06dd833330f7f9b125a81b5acabfa1a7 (diff) | |
download | sssd-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/sss_client/nss_netgroup.c')
0 files changed, 0 insertions, 0 deletions