Bug 1108407
Summary: | managed entry plugin fails to update managed entry pointer on modrdn operation | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Noriko Hosoi <nhosoi> |
Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> |
Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | nkinder, rmeggins, vashirov |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 389-ds-base-1.3.3.1-1.el7 | Doc Type: | Bug Fix |
Doc Text: |
Cause: Performing a modrdn on a managed entry
Consequence: The managed entry link does not get properly updated
Fix: Several modifications were grouped into a single modification operation. The first modification in this group added an objectclasses that is usually already present in the entry. This caused the entire modify operation to fail, which broke the managed entry relationship.
Result: After performing a modrdn operation, the managed entry link is still intact.
|
Story Points: | --- |
Clone Of: | 1106917 | Environment: | |
Last Closed: | 2015-03-05 09:34:53 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1106917 | ||
Bug Blocks: |
Description
Noriko Hosoi
2014-06-12 00:46:58 UTC
FOR VERIFICATION: This can be verified in tet by running the managedEntry testsuite - test mentry22() From RHEL 6.6 bug verification: <snip> 389-ds-base-libs-1.2.11.15-38.el6.x86_64 389-ds-base-1.2.11.15-38.el6.x86_64 520|0 29 19263 1 2|----------------- Starting Test MENTRY_22 ------------------------- 520|0 29 19263 1 3|---Deleting mepManagedBy attribute and running ModRDN operation to check if it creates a new UPG, Expected Result=--- 520|0 29 19263 1 4|Successfully completed Delete mepManagedBy attribute from UPG 520|0 29 19263 1 5|Successfully completed Change the RDN of user uid=User_MENTRY_22 520|0 29 19263 1 6|Test result for MENTRY_22, Deleting mepManagedBy attribute and running ModRDN operation to check if it creates a new UPG, Actual_Result=1, Expected_Result=1 520|0 29 19263 1 7|TestCase [mentry22] result-> [PASS] 520|0 29 19263 1 8|Test result for MENTRY_22, Deleting mepManagedBy attribute and running ModRDN operation to check if it creates a new UPG, Actual_Result=0, Expected_Result=0 520|0 29 19263 1 9|TestCase [mentry22] result-> [PASS] 520|0 29 19263 1 10|Running cleanup test for MENTRY_22, removing the user uid=User_MENTRY_22 520|0 29 19263 1 11|Deleting the user uid=User_MENTRY_22 from dc=mentry,dc=com 520|0 29 19263 1 12|------------------Test MENTRY_22 Completed------------------------- Testcase mentry22() in TET passes, hence marking as VERIFIED. </snip> $ rpm -qa | grep 389 389-ds-base-1.3.3.1-9.el7.x86_64 389-ds-base-debuginfo-1.3.3.1-9.el7.x86_64 389-ds-base-libs-1.3.3.1-9.el7.x86_64 I ran managedEntry testsuite in TET. Here's the output of mentry22 testcase: 520|0 29 16529 1 2|----------------- Starting Test MENTRY_22 ------------------------- 520|0 29 16529 1 3|---Deleting mepManagedBy attribute and running ModRDN operation to check if it creates a new UPG, Expected Result=--- 520|0 29 16529 1 4|Successfully completed Delete mepManagedBy attribute from UPG 520|0 29 16529 1 5|Successfully completed Change the RDN of user uid=User_MENTRY_22 520|0 29 16529 1 6|Test result for MENTRY_22, Deleting mepManagedBy attribute and running ModRDN operation to check if it creates a new UPG, Actual_Result=1, Expected_Result=1 520|0 29 16529 1 7|TestCase [mentry22] result-> [PASS] 520|0 29 16529 1 8|Test result for MENTRY_22, Deleting mepManagedBy attribute and running ModRDN operation to check if it creates a new UPG, Actual_Result=0, Expected_Result=0 520|0 29 16529 1 9|TestCase [mentry22] result-> [PASS] 520|0 29 16529 1 10|Running cleanup test for MENTRY_22, removing the user uid=User_MENTRY_22 520|0 29 16529 1 11|Deleting the user uid=User_MENTRY_22 from dc=mentry,dc=com 520|0 29 16529 1 12|------------------Test MENTRY_22 Completed------------------------- Testcase passes, hence marking as VERIFIED. 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/RHSA-2015-0416.html |