summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-server-install
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2015-03-31 10:02:52 +0200
committerPetr Vobornik <pvoborni@redhat.com>2015-05-07 16:00:00 +0200
commit059a4c188760ec7360ccb68a5c8a292afb21d35e (patch)
treeaa996a39a2543032f1164c90397f2e05679f9a97 /install/tools/ipa-server-install
parent83e2552cdd99e67415148c0a7a317f3e3c45b831 (diff)
downloadfreeipa-059a4c188760ec7360ccb68a5c8a292afb21d35e.tar.gz
freeipa-059a4c188760ec7360ccb68a5c8a292afb21d35e.tar.xz
freeipa-059a4c188760ec7360ccb68a5c8a292afb21d35e.zip
ipa-server-install: deprecate manual setting of master KDC password
Option '-P' was used in older version of FreeIPA to set up KDC master password during server install. This is no longer neccessary or desirable since the password of sufficient strength can be generated automatically during installation. https://fedorahosted.org/freeipa/ticket/4516 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'install/tools/ipa-server-install')
-rwxr-xr-xinstall/tools/ipa-server-install8
1 files changed, 7 insertions, 1 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index 1fe5bd9ea..c74d15f8f 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -167,7 +167,7 @@ def parse_options():
sensitive=True, help="Directory Manager password")
basic_group.add_option("-P", "--master-password",
dest="master_password", sensitive=True,
- help="kerberos master password (normally autogenerated)")
+ help=SUPPRESS_HELP)
basic_group.add_option("-a", "--admin-password",
sensitive=True, dest="admin_password",
help="admin user kerberos password")
@@ -698,6 +698,12 @@ def main():
signal.signal(signal.SIGTERM, signal_handler)
signal.signal(signal.SIGINT, signal_handler)
+ if options.master_password:
+ msg = ("WARNING:\noption '-P/--master-password' is deprecated. "
+ "KDC master password of sufficient strength is autogenerated "
+ "during IPA server installation and should not be set "
+ "manually.")
+ print textwrap.fill(msg, width=79, replace_whitespace=False)
if options.uninstall:
uninstalling = True
standard_logging_setup(paths.IPASERVER_UNINSTALL_LOG, debug=options.debug)