mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Do not set DNS discovery domain in server mode
In server mode, the discovery domain should be left unset in all cases as the DNS discovery is only driven by the AD domains. https://fedorahosted.org/freeipa/ticket/3947
This commit is contained in:
parent
88759cf7b6
commit
7d2d1cb59d
@ -1097,7 +1097,8 @@ def configure_sssd_conf(fstore, cli_realm, cli_domain, cli_server, options, clie
|
||||
domain.add_provider('ipa', 'id')
|
||||
|
||||
#add discovery domain if client domain different from server domain
|
||||
if cli_domain != client_domain:
|
||||
#do not set this config in server mode (#3947)
|
||||
if not options.on_master and cli_domain != client_domain:
|
||||
domain.set_option('dns_discovery_domain', cli_domain)
|
||||
|
||||
if not options.on_master:
|
||||
|
Loading…
Reference in New Issue
Block a user