summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv_netgroup.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-02-25 12:52:59 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-03-07 07:58:46 -0500
commit637cb709acd0b7fd95c18665de398226562e76b7 (patch)
treedc7db8ba1f2083e24cbd6ad565f89fb34ecd4f9a /src/responder/nss/nsssrv_netgroup.c
parent5ea6496dea79a86c32a5d00d2e3b417641eb9723 (diff)
downloadsssd-637cb709acd0b7fd95c18665de398226562e76b7.tar.gz
sssd-637cb709acd0b7fd95c18665de398226562e76b7.tar.xz
sssd-637cb709acd0b7fd95c18665de398226562e76b7.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/responder/nss/nsssrv_netgroup.c')
0 files changed, 0 insertions, 0 deletions