Description of problem:
--no_hback_allow option in ipa-server-install contains underscore "_" as opposed to all other options which contains hypen "-"
[root@ipamaster /]# ipa-server-install --help |grep no_
--no_hbac_allow Don't install allow_all HBAC rule
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ipa-server-install --help | grep no_hbac
Option --no_hbac_allow contains underscore as opposed to all other options
Replace underscore with hypen
This is a very old option.
But I agree that in is not consistent. Any fix should keep the old option for backwards compatibility - it can be hidden in help though. An then new option with proper name created.
Tested on RHEL7.4 using
[root@master ~]# ipa-server-install -no_hbac_allow
Usage: ipa-server-install [options]
ipa-server-install: error: option --domain: only letters, numbers, '-' are allowed. DNS label may not start or end with '-'
ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
[root@master ~]# ipa-server-install --no-hbac-allow
Configuring testrelm.test as NIS domain.
Client configuration complete.
The ipa-client-install command was successful
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.