Configure SSSD to use DNS to find the IPA server by default.

Add the server we registered with as a fallback.

ticket 980
This commit is contained in:
Rob Crittenden 2011-02-17 15:19:24 -05:00
parent 4211eee992
commit cd2365bf64

View File

@ -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