Bug 842441

Summary: "Server is unwilling to perform" when running ldapmodify on nsds5ReplicaStripAttrs
Product: Red Hat Enterprise Linux 6 Reporter: Nathan Kinder <nkinder>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Sankar Ramalingam <sramling>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.4CC: jgalipea, mreynolds
Target Milestone: rc   
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: attribute was not in a list of allowed attributes to update Consequence: the attribute could only be manually set in dse.ldif when the server was shutdown. Fix: add attribute to "allow" list Result: you can use ldapmodify to set the config attribute
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 08:20:23 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:

Description Nathan Kinder 2012-07-23 21:03:44 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/413

The server rejects modifications to nsds5ReplicaStripAttrs (a replica agreement attribute added in #321).

{{{

$ ldapmodify -x -h localhost -D "cn=Directory Manager" -w 12345678
dn: cn=meTovm-028.idm.lab.bos.redhat.com,cn=replica,cn=dc\3Didm\2Cdc\3Dlab\2Cdc\3Dbos\2Cdc\3Dredhat\2Cdc\3Dcom,cn=mapping tree,cn=config
changetype: modify
add: nsds5replicastripattrs
nsds5replicastripattrs: modifiersname modifytimestamp internalmodifiersname internalmodifytimestamp

modifying entry "cn=meTovm-028.idm.lab.bos.redhat.com,cn=replica,cn=dc\3Didm\2Cdc\3Dlab\2Cdc\3Dbos\2Cdc\3Dredhat\2Cdc\3Dcom,cn=mapping tree,cn=config"
ldap_modify: Server is unwilling to perform (53)
}}}

Comment 1 Nathan Kinder 2012-07-23 21:06:44 UTC
This is associated with the new attribute that was added as part of ticket #321 (bug 782295).  This should be verified at the same time.

Verification should consist of trying to set nsds5replicastripattrs dynamically over LDAP as "cn=Directory Manager".

Comment 2 Jenny Severance 2012-08-28 13:23:20 UTC
added automated regression testcase to accept.sh

Comment 4 Sankar Ramalingam 2012-11-19 10:37:16 UTC
No failures encountered from mmrept/accept tests. Hence marking the bug as Verified.
    mmrepl mmraccept run elapse time : 00:12:17
    mmrepl mmraccept run Tests PASS      : 100% (27/27)

Comment 5 errata-xmlrpc 2013-02-21 08:20:23 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.

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