mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Try to clear up messages prompting for domain and IPA server when DNS discovery fails to find them.
This commit is contained in:
@@ -140,10 +140,10 @@ def main():
|
||||
elif options.unattended:
|
||||
return ret
|
||||
else:
|
||||
print "Failed to determine your DNS domain (DNS misconfigured?)"
|
||||
print "DNS discovery failed to determine your DNS domain"
|
||||
cli_domain = ""
|
||||
while cli_domain == "":
|
||||
cli_domain = raw_input("Please provide your domain name (ex: example.com): ")
|
||||
cli_domain = raw_input("Please provide the domain name of your IPA server (ex: example.com): ")
|
||||
ret = ds.search(domain=cli_domain, server=options.server)
|
||||
if not cli_domain:
|
||||
if ds.getDomainName():
|
||||
@@ -157,10 +157,10 @@ def main():
|
||||
elif options.unattended:
|
||||
return ret
|
||||
else:
|
||||
print "Failed to find the IPA Server (DNS misconfigured?)"
|
||||
print "DNS discovery failed to find the IPA Server"
|
||||
cli_server = ""
|
||||
while cli_server == "":
|
||||
cli_server = raw_input("Please provide your server name (ex: ipa.example.com): ")
|
||||
cli_server = raw_input("Please provide your IPA server name (ex: ipa.example.com): ")
|
||||
ret = ds.search(domain=cli_domain, server=cli_server)
|
||||
if not cli_server:
|
||||
if ds.getServerName():
|
||||
|
||||
Reference in New Issue
Block a user