RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1353530 - setup-ds.pl - Mismatched password on first attempt does not prompt to enter original password again
Summary: setup-ds.pl - Mismatched password on first attempt does not prompt to enter o...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base
Version: 7.3
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Noriko Hosoi
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-07 11:42 UTC by Kamlesh
Modified: 2020-09-13 21:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-24 16:24:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 2092 0 None None None 2020-09-13 21:53:11 UTC

Description Kamlesh 2016-07-07 11:42:02 UTC
Description of problem:
The issue is that, in setup-ds.pl when you enter a password(and say you made a mistake) and you confirm with another password, you are always again prompted for only the confirmation password.

Version-Release number of selected component (if applicable):
[root@test dirsrv]# rpm -qa | grep 389
389-ds-base-libs-1.3.5.10-1.el7.x86_64

How reproducible:
[root@test slapd-test]# setup-ds.pl
<snip>

Directory Manager DN [cn=Directory Manager]: 
Password: 
Password (confirm): 
The passwords do not match.  Please try again.

Password (confirm): 
The passwords do not match.  Please try again.

Password (confirm):

</snip>

eg. In the above, I have to set my instance password as test1234 
password: tst1234
password (confirm): test1234 

This gives an error "The passwords do not match.  Please try again. 
and it again it ask for the password (confirm)
Password (confirm): " . But, this will never let me enter my expected password afresh.

Expected results:
It should again ask for new password first and then the password again to confirm.
Even IPA Server installer allows you to re-enter the original password if you get a password mismatch.

Comment 3 Noriko Hosoi 2016-11-04 18:15:37 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/49033

Comment 4 Nathan Kinder 2017-08-24 16:24:10 UTC
We plan to replace the existing Perl-based installer scripts with a Python-based installer in a future major update of 389-ds-base.  As such, we would prefer to not add any code to the existing installer unless it is for a critical bug fix.  The new installer will handle things differently, so this issue won't apply.  
 Closing this as WONTFIX.


Note You need to log in before you can comment on or make changes to this bug.