Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1145379

Summary: Adding an entry with an invalid password as rootDN is incorrectly rejected
Product: Red Hat Enterprise Linux 6 Reporter: Noriko Hosoi <nhosoi>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: high Docs Contact:
Priority: high    
Version: 6.0CC: jgalipea, mreynolds, nkinder, rmeggins, sramling
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.2.11.15-51.el6 Doc Type: Bug Fix
Doc Text:
Root DN (Directory Manager) and password administrators should bypass all password restrictions and syntax checks, but the checks were incorrectly applied. The bug was fixed and Root DN and password administrators have no restrictions.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 06:35:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Noriko Hosoi 2014-09-23 01:04:05 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47900

root DN, aka "cn=directory manager", should not be restricted by password policy.  During ADD operations the root DN is incorrectly restricted by password policy.  Updating an existing entry, doing a MOD, works as expected.

Comment 1 mreynolds 2014-09-30 19:21:19 UTC
Fixed upstream.

Comment 3 Noriko Hosoi 2015-02-20 00:37:18 UTC
Test case: dirsrvtests/tickets/ticket47900_test.py

Comment 4 Sankar Ramalingam 2015-03-11 13:06:02 UTC
Checked out the lib389 framework and executed the test case - 
ticket47900_test.py. The results shows the test case is passed. Hence, marking the bug as Verified.

[root@cloud-qe-14 PY.TEST]# rpm -qa |grep -i 389-ds-base
389-ds-base-1.2.11.15-52.el6.x86_64

  % (passwd, e.message['desc']))
INFO:lib389:Password update failed as expected: password (2_Short) result (Constraint violation)
INFO:lib389:Password update failed as expected: password (No_Number) result (Constraint violation)
INFO:lib389:Password update failed as expected: password (N0Special) result (Constraint violation)
INFO:lib389:Password update failed as expected: password ({SSHA}bBy8UdtPZwu8uZna9QOYG3Pr41RpIRVDl8wddw==) result (Constraint violation)
INFO:lib389:Activate Password Administator and try updates again...
INFO:lib389:Password update succeeded (2_Short)
INFO:lib389:Password update succeeded (No_Number)
INFO:lib389:Password update succeeded (N0Special)
INFO:lib389:Password update succeeded ({SSHA}bBy8UdtPZwu8uZna9QOYG3Pr41RpIRVDl8wddw==)
PASSED

Comment 5 errata-xmlrpc 2015-07-22 06:35:31 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-1326.html