diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2010-11-10 14:03:54 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2010-11-19 14:05:22 -0500 |
commit | cbddbc2fbbf821cb90c4d5a1b400aaed64940e07 (patch) | |
tree | c70bab1e481145f2d545a20c056b9a216469626d | |
parent | 3682a1c385f93d574af2db3f498ecc003eeb2133 (diff) | |
download | freeipa-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-x | ipa-client/ipa-install/ipa-client-install | 2 |
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: |