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 1833266 - [dirsrv] set 'nsslapd-enable-upgrade-hash: off' as this raises warnings
Summary: [dirsrv] set 'nsslapd-enable-upgrade-hash: off' as this raises warnings
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.2
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 8.2
Assignee: Thomas Woerner
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks: 1833515
TreeView+ depends on / blocked
 
Reported: 2020-05-08 09:20 UTC by Andreas Bleischwitz
Modified: 2020-11-04 02:51 UTC (History)
8 users (show)

Fixed In Version: ipa-4.8.7-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1833515 (view as bug list)
Environment:
Last Closed: 2020-11-04 02:50:41 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure 389-ds-base issue 49421 0 None None None 2020-06-03 13:33:26 UTC
Fedora Pagure freeipa issue 8315 0 None None None 2020-06-03 13:33:26 UTC

Description Andreas Bleischwitz 2020-05-08 09:20:20 UTC
Description of problem:
An upgraded version of 389-ds 1.4.1.6 will raise errors in the logs due to the inability to update passwords to new password-schemes.

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

How reproducible:
Always

Steps to Reproduce:
1. Install IDM prior 389-ds 1.4.1.6
2. Create users and passwords
3. Upgrade to 389-ds 1.4.1.6 or later

Actual results:
Warning messages written to /var/log/dirsrv/slapd-<instance>/errors:

WARN - update_pw_encoding - Modify error 19 on entry '<user-dn>'

Expected results:
No warning messages reported

Additional info:
Due to the integration of kerberos into IDM, passwords need to be given in cleartext in order to be updated. As there are only hashes stored in IDM, the update_pw_encoding() mechanism will not be able to update these and raises the warning messages.

Comment 1 Andreas Bleischwitz 2020-05-08 09:21:55 UTC
The change to do password-schema updates was introduced with this: https://pagure.io/389-ds-base/issue/49421

Comment 2 Christian Heimes 2020-05-08 09:36:24 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/8315

Comment 3 mreynolds 2020-05-08 19:19:09 UTC
DS upstream ticket to update schema to include "nsslapd-enable-upgrade-hash":

https://pagure.io/389-ds-base/issue/51078

Comment 5 Christian Heimes 2020-06-03 13:33:26 UTC
Fixed in upstream

master:
* https://pagure.io/freeipa/c/aa341020c883b3d8e6117f6f515f5ed0e19c04e7 Disable password schema update on LDAP bind
ipa-4-8:
* https://pagure.io/freeipa/c/27656669f7126ef92272530118d2d52122bb3008 Disable password schema update on LDAP bind

Comment 12 errata-xmlrpc 2020-11-04 02:50:41 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 (Moderate: idm:DL1 and idm:client security, bug fix, and enhancement update), 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://access.redhat.com/errata/RHSA-2020:4670


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