summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipa-install/ipa-client-install
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-02-17 15:19:24 -0500
committerRob Crittenden <rcritten@redhat.com>2011-02-17 17:12:42 -0500
commitcd2365bf6489d91db89ce23dbe112158e17f79b0 (patch)
treecf9a9982f346079260f85bdebffa929d27c264d8 /ipa-client/ipa-install/ipa-client-install
parent4211eee9922cc30e57e740e34018653381bd0dde (diff)
downloadfreeipa-cd2365bf6489d91db89ce23dbe112158e17f79b0.zip
freeipa-cd2365bf6489d91db89ce23dbe112158e17f79b0.tar.gz
freeipa-cd2365bf6489d91db89ce23dbe112158e17f79b0.tar.xz
Configure SSSD to use DNS to find the IPA server by default.
Add the server we registered with as a fallback. ticket 980
Diffstat (limited to 'ipa-client/ipa-install/ipa-client-install')
-rwxr-xr-xipa-client/ipa-install/ipa-client-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install
index 20c327d..dc49622 100755
--- a/ipa-client/ipa-install/ipa-client-install
+++ b/ipa-client/ipa-install/ipa-client-install
@@ -481,7 +481,7 @@ def configure_sssd_conf(fstore, cli_domain, cli_server, options):
domain = sssdconfig.new_domain(cli_domain)
domain.add_provider('ipa', 'id')
- domain.set_option('ipa_server', cli_server)
+ domain.set_option('ipa_server', '_srv_, %s' % cli_server)
domain.set_option('ipa_domain', cli_domain)
# Might need this if /bin/hostname doesn't return a FQDN