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 1257776 - Replication not working for "delete: attr"
Summary: Replication not working for "delete: attr"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: 389-ds-base
Version: 6.6
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Noriko Hosoi
QA Contact: Viktor Ashirov
URL:
Whiteboard:
: 1279926 (view as bug list)
Depends On: 1251288
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-28 01:13 UTC by Tom Lavigne
Modified: 2019-09-12 08:49 UTC (History)
11 users (show)

Fixed In Version: 389-ds-base-1.2.11.15-61.el6_7
Doc Type: Bug Fix
Doc Text:
Previously, when the user deleted an attribute without a value on the master server, the change was not replicated to other servers. The regression that caused this bug has been fixed. Now, after the user deletes an attribute without a value on the master server, the attribute is removed on all replicated servers as well.
Clone Of: 1251288
Environment:
Last Closed: 2015-09-22 14:02:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1816 0 normal SHIPPED_LIVE 389-ds-base bug fix update 2015-09-22 17:41:03 UTC

Description Tom Lavigne 2015-08-28 01:13:33 UTC
This bug has been copied from bug #1251288 and has been proposed
to be backported to 6.7 z-stream (EUS).

Comment 3 Noriko Hosoi 2015-08-28 21:50:50 UTC
Steps to verify:
1. Set up MMR (hosts: Master1 and Master2)
2. delete an attribute without the value.
ldapmodify -h Master1 ... << EOF
dn: <DN>
changetype: modify
delete: <ATTR>
EOF
3. check the attribute <ATTR> in Master2.
   If it is deleted, the fix is verified.

Comment 5 Viktor Ashirov 2015-08-31 14:49:15 UTC
Build tested: 389-ds-base-1.2.11.15-61.el6_7.x86_64

[0] Setup MMR (M1 -- 1189, M2 -- 1289)

[1] Add test attribute:
[root@rhel6ds ~]# ldapmodify -D "cn=Directory Manager" -w Secret123 -h localhost -p 1189
dn: dc=example,dc=com
changetype: modify
add: description
description: test

modifying entry "dc=example,dc=com"

[2] It was replicated to the second master:
[root@rhel6ds ~]# ldapsearch -LLL -D "cn=Directory Manager" -w Secret123 -b "dc=example,dc=com" -h localhost -p 1189 -s base description
dn: dc=example,dc=com
description: test

[root@rhel6ds ~]# ldapsearch -LLL -D "cn=Directory Manager" -w Secret123 -b "dc=example,dc=com" -h localhost -p 1289 -s base description
dn: dc=example,dc=com
description: test

[3] Delete attribute without its value
[root@rhel6ds ~]# ldapmodify -D "cn=Directory Manager" -w Secret123 -h localhost -p 1189
dn: dc=example,dc=com
changetype: modify
delete: description

modifying entry "dc=example,dc=com"

[4] Change was replicated to the second master:
[root@rhel6ds ~]# ldapsearch -LLL -D "cn=Directory Manager" -w Secret123 -b "dc=example,dc=com" -h localhost -p 1189 -s base description
dn: dc=example,dc=com

[root@rhel6ds ~]# ldapsearch -LLL -D "cn=Directory Manager" -w Secret123 -b "dc=example,dc=com" -h localhost -p 1289 -s base description
dn: dc=example,dc=com

With the build 1.2.11.15-60.el6 attribute was present on the second master:
[root@rhel6ds ~]# ldapsearch -LLL -D "cn=Directory Manager" -w Secret123 -b "dc=example,dc=com" -h localhost -p 1289 -s base description
dn: dc=example,dc=com
description: test


Marking as VERIFIED.

Comment 7 errata-xmlrpc 2015-09-22 14:02:24 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-1816.html

Comment 8 Ahmed Nazmy 2015-11-11 10:22:18 UTC
*** Bug 1279926 has been marked as a duplicate of this bug. ***


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