summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2010-11-10 14:03:54 +0100
committerSimo Sorce <ssorce@redhat.com>2010-11-19 14:05:22 -0500
commitcbddbc2fbbf821cb90c4d5a1b400aaed64940e07 (patch)
treec70bab1e481145f2d545a20c056b9a216469626d
parent3682a1c385f93d574af2db3f498ecc003eeb2133 (diff)
downloadfreeipa-cbddbc2fbbf821cb90c4d5a1b400aaed64940e07.tar.gz
freeipa-cbddbc2fbbf821cb90c4d5a1b400aaed64940e07.tar.xz
freeipa-cbddbc2fbbf821cb90c4d5a1b400aaed64940e07.zip
Use provided domain name for the rest of installation
When installing IPA client, the install script used detected domain name of the machine instead of that given by administrator (in case one was given) https://fedorahosted.org/freeipa/ticket/363
-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 498492063..cc27ff7d6 100755
--- a/ipa-client/ipa-install/ipa-client-install
+++ b/ipa-client/ipa-install/ipa-client-install
@@ -550,7 +550,7 @@ def main():
cli_domain = user_input("Please provide the domain name of your IPA server (ex: example.com)", allow_empty = False)
logging.debug("will use domain: %s\n", cli_domain)
if options.on_master:
- ret = ds.search(domain=options.domain, server=options.server)
+ ret = ds.search(domain=cli_domain, server=options.server)
else:
ret = ds.search(domain=cli_domain)
if not cli_domain: