Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 834074 - [RFE] Disable replication agreements
[RFE] Disable replication agreements
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: 389-ds-base (Show other bugs)
6.4
All Linux
high Severity medium
: rc
: ---
Assigned To: Rich Megginson
Sankar Ramalingam
: FutureFeature
: 466144 (view as bug list)
Depends On:
Blocks: 782183 840699
  Show dependency treegraph
 
Reported: 2012-06-20 14:32 EDT by Nathan Kinder
Modified: 2013-02-21 03:19 EST (History)
8 users (show)

See Also:
Fixed In Version: 389-ds-base-1.2.11.15-7.el6
Doc Type: Enhancement
Doc Text:
Feature: Replication Reason: There is a need to temporarily disable replication agmts Result (if any): Once disabled, the agmt essentially appears to be removed, but can be easily re-enabled, and replication resumes.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-02-21 03:19:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0503 normal SHIPPED_LIVE Moderate: 389-ds-base security, bug fix, and enhancement update 2013-02-21 03:18:44 EST

  None (edit)
Description Nathan Kinder 2012-06-20 14:32:01 EDT
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/216

https://bugzilla.redhat.com/show_bug.cgi?id=466144

Added a new attribute to the replication agreement: nsds5ReplicaEnabled (on|off)
Comment 1 Nathan Kinder 2012-06-21 10:54:25 EDT
*** Bug 466144 has been marked as a duplicate of this bug. ***
Comment 2 RHEL Product and Program Management 2012-07-10 03:09:59 EDT
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
Comment 3 RHEL Product and Program Management 2012-07-10 19:02:35 EDT
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
Comment 5 Amita Sharma 2012-11-19 01:01:52 EST
Automated test cases in fourwaymmr and are passing.
mmrepl fourwaymmr run 100% (21/21).
Hence marking bug as VERIFIED.
ON rhel64.
Comment 6 Nathan Kinder 2012-11-29 12:30:31 EST
Re-opening, as Sankar has found that the new nsds5ReplicaEnabled attribute is not allowed for Winsync agreements due to an objectclass violation.
Comment 9 Sankar Ramalingam 2013-01-21 02:39:14 EST
[root@intel-piketon-01 ~]# PORT=1189; /usr/bin/ldapmodify -x -p $PORT -h localhost -D "cn=Directory Manager" -w Secret123 << EOF
dn: cn=WinPassSync,cn=replica,cn="dc=passsync,dc=com",cn=mapping tree,cn=config
changetype: modify
replace: nsds5replicaenabled
nsds5replicaenabled: off
EOF
modifying entry "cn=WinPassSync,cn=replica,cn="dc=passsync,dc=com",cn=mapping tree,cn=config"

[root@intel-piketon-01 ~]# PORT=1189 ; ldapsearch -p $PORT -h localhost -D "cn=Directory Manager" -w Secret123 -b "cn=WinPassSync,cn=replica,cn=dc\3Dpasssync\2Cdc\3Dcom,cn=mapping tree,cn=config" |grep -i "nsds5ReplicaEnabled:"
nsds5ReplicaEnabled: off
[root@intel-piketon-01 ~]# service dirsrv restart M1
Shutting down dirsrv: 
    M1...[  OK  ]
Starting dirsrv: 
    M1...[  OK  ]


PORT=1189; /usr/bin/ldapmodify -x -p $PORT -h localhost -D "cn=Directory Manager" -w Secret123 << EOFdn: cn=WinPassSync,cn=replica,cn="dc=passsync,dc=com",cn=mapping tree,cn=config
changetype: modify
replace: nsds5replicaenabled
nsds5replicaenabled: on
EOF

modifying entry "cn=WinPassSync,cn=replica,cn="dc=passsync,dc=com",cn=mapping tree,cn=config"

[root@intel-piketon-01 ~]# PORT=1189 ; ldapsearch -p $PORT -h localhost -D "cn=Directory Manager" -w Secret123 -b "cn=WinPassSync,cn=replica,cn=dc\3Dpasssync\2Cdc\3Dcom,cn=mapping tree,cn=config" |grep -i "nsds5ReplicaEnabled:"
nsds5ReplicaEnabled: on

-------------------------------------------

Marking the bug as Verified since the attribute nsds5ReplicaEnabled can be set to On/Off for winsync replication agreements.
Comment 10 errata-xmlrpc 2013-02-21 03:19:48 EST
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.

http://rhn.redhat.com/errata/RHSA-2013-0503.html

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