mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
parent
4211eee992
commit
cd2365bf64
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user