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 1388581 - Replication stops working only when fips mode is set to true
Summary: Replication stops working only when fips mode is set to true
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base
Version: 7.3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Noriko Hosoi
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On: 1378209
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-25 17:32 UTC by Marcel Kolaja
Modified: 2016-12-06 17:04 UTC (History)
9 users (show)

Fixed In Version: 389-ds-base-1.3.5.10-12.el7_3
Doc Type: Bug Fix
Doc Text:
When FIPS mode is enabled in the network security services (NSS) database, the token name changes. This prevents the server from reverse decoding the replication manager's password. Consequently, replication sessions using SSL or TLS to a replica server fail. This patch prepares Directory Manager to fix the problem. However, the bug in the nss package will be fixed in a future update of NSS.
Clone Of: 1378209
Environment:
Last Closed: 2016-12-06 17:04:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2879 0 normal SHIPPED_LIVE 389-ds-base bug fix update 2016-12-06 22:00:22 UTC

Description Marcel Kolaja 2016-10-25 17:32:03 UTC
This bug has been copied from bug #1378209 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 4 Simon Pichugin 2016-11-09 05:35:27 UTC
Build tested:
389-ds-base-1.3.5.10-12.el7_3.x86_64

Verification steps:
1. Install Directory Server and setup SSL MMR
2. Enable FIPS mode from the directory with DB
[root@qeos-230 slapd-M1]# modutil -dbdir . -fips true

WARNING: Performing this operation while the browser is running could cause
corruption of your security databases. If the browser is currently running,
you should exit browser before continuing this operation. Type
'q <enter>' to abort, or <enter> to continue:

FIPS mode enabled.

3. Restart the server:
[root@qeos-230 slapd-M1]# restart-dirsrv
Restarting instance "M1"
Restarting instance "M2"

4. Check that replication is working:
[root@qeos-230 slapd-M1]# ldapmodify -H ldaps://localhost:1616 -D "cn=directory manager" -w Secret123.com
dn: uid=new_user,ou=People,dc=passsync,dc=com
changetype: add
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
uid: new_user
sn: new_user
cn: new_user

[root@qeos-230 slapd-M1]# ldapsearch -H ldaps://localhost:1626 -D "cn=directory manager" -w Secret123 -b "uid=new_user,ou=People,dc=passsync,dc=com"
# new_user, People, passsync.com
dn: uid=new_user,ou=People,dc=passsync,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
uid: new_user
sn: new_user
cn: new_user

[root@qeos-230 slapd-M1]# ldapmodify -H ldaps://localhost:1626 -D "cn=directory manager" -w Secret123.com
dn: uid=new_user2,ou=People,dc=passsync,dc=com
changetype: add
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
uid: new_user2
sn: new_user2
cn: new_user2

[root@qeos-230 slapd-M1]# ldapsearch -H ldaps://localhost:1616 -D "cn=directory manager" -w Secret123 -b "uid=new_user,ou=People,dc=passsync,dc=com"
# new_user, People, passsync.com
dn: uid=new_user2,ou=People,dc=passsync,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
uid: new_user2
sn: new_user2
cn: new_user2

5. Check logs for the error:
[root@qeos-230 slapd-M1]# grep -i "Decoding of the credentials failed" /var/log/dirsrv/slapd-M1/errors
[root@qeos-230 slapd-M1]# echo $?
1
[root@qeos-230 slapd-M1]# grep -i "Decoding of the credentials failed" /var/log/dirsrv/slapd-M2/errors
[root@qeos-230 slapd-M1]# echo $?
1

No error was logged. Replication is working.
Marking as VERIFIED.

Comment 13 errata-xmlrpc 2016-12-06 17:04:13 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-2016-2879.html


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