Bug 850683
Summary: | nsds5ReplicaEnabled can be set with any invalid values. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Amita Sharma <amsharma> |
Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> |
Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3 | CC: | amsharma, dpal, jgalipea, mreynolds, nkinder, syeghiay |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 389-ds-base-1.2.11.12-1.el6 | Doc Type: | Bug Fix |
Doc Text: |
Cause: Did not check for valid values
Consequence: The feature would be kept off
Fix: check the value
Result: error reported
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 08:20:29 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Amita Sharma
2012-08-22 07:12:57 UTC
Upstream ticket: https://fedorahosted.org/389/ticket/436 Steps to Reproduce :: ======================== 1. Try to modify nsds5ReplicaEnabled with any invalid value using ldapmodify : [root@dhcp201-134 fourwaymmr]# ldapmodify -x -D "cn=directory manager" -w *** -p 30100 -h localhost << EOF > > dn: cn=M1_to_M2,cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config > > changetype: modify > > replace: nsds5ReplicaEnabled > > nsds5ReplicaEnabled: invalid > > EOF modifying entry "cn=M1_to_M2,cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config" [root@dhcp201-134 fourwaymmr]# ldapmodify -x -D "cn=directory manager" -w *** -p 30100 -h localhost << EOF dn: cn=M1_to_M2,cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config changetype: modify replace: nsds5ReplicaEnabled nsds5ReplicaEnabled: invalsadsa689id EOF modifying entry "cn=M1_to_M2,cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config" [root@dhcp201-134 fourwaymmr]# ldapmodify -x -D "cn=directory manager" -w *** -p 30100 -h localhost << EOF dn: cn=M1_to_M2,cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config changetype: modify replace: nsds5ReplicaEnabled nsds5ReplicaEnabled: 0 EOF modifying entry "cn=M1_to_M2,cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config" Actual Result :: Modification Passed Expected Result :: It should only except ON/OFF as valid values, nothing else and should give error message. Changing the value of nsds5ReplicaEnabled to some invalid value on M1 Modify nsds5ReplicaEnabled's value to invalid on Master M1 modifying entry cn=M1_to_M2,cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config bug834074_08: Unable to modify nsds5ReplicaEnabled to valid : PASS (1) TestCase [bug834074_08] result-> [PASS] quickinstall startup 100% (2/2) mmrepl fourwaymmr startup 100% (1/1) mmrepl fourwaymmr run 100% (23/23) mmrepl fourwaymmr cleanup 100% (1/1) 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 |