#6353 During one step replica install the command accepts both OTP and Admin password simultaneously
Closed: fixed 2 years ago Opened 3 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1376024

Please note that this Bug is private and may not be accessible as it contains confidential Red Hat customer information.

Description of problem:

During one step replica install the command accepts both OTP and Admin password
simultaneously.

The replica promotion was still successful in the case.

# ipa-replica-install --server=test.example.com
--domain=example.com --realm=EXAMPLE.COM -p 4ughf1XDd.ui -w
Secret123 -P admin

The command should alert if multiple password has been provided. Also OTP
option should not be provided since it is fail due to required permission issue
as mentioned in bugzilla 1376019.

Version-Release number of selected component (if applicable):

ipa-server-4.4.0-11.el7.x86_64

How reproducible:

Always

Actual results:

ipa-replica-install does not prompt when different passwords are provided and
installation succeeds.

Expected results:

ipa-replica-install should prompt when different passwords are provided.

Additional info:

Metadata Update from @pvoborni:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.5 backlog

3 years ago

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2585
- Issue close_status updated to: None

2 years ago

Metadata Update from @frenaud:
- Issue assigned to frenaud (was: someone)

2 years ago

Metadata Update from @frenaud:
- Issue set to the milestone: FreeIPA 4.6.5 (was: FreeIPA 4.5 backlog)

2 years ago

master:

  • 23306a2 ipa-replica-install: password and admin-password options mutually exclusive
  • 26e35dc ipatests: add test for ipa-replica-install options

ipa-4-7:

  • fd3f515 ipa-replica-install: password and admin-password options mutually exclusive
  • 2b155f9 ipatests: add test for ipa-replica-install options

ipa-4-6:

  • 2aed47c ipa-replica-install: password and admin-password options mutually exclusive
  • d53faf8 ipatests: add test for ipa-replica-install options

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata