#47727 Updating nsds5ReplicaHost attribute in a replication agreement fails with error 53
Closed: wontfix None Opened 10 years ago by mreynolds.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1072032

Description of problem: Unable to change the nsds5ReplicaHost attribute in the
replication agreement. It throws error 53.

Version-Release number of selected component (if applicable):
389-ds-base-1.3.1.6-21


How reproducible: Consistently.

Steps to Reproduce:
1. Setup replication agreement from Master1 to Master2.
2. Run ldapmodify to change nsds5ReplicaHost attribute.
3. [root@ibm-hs23-01 ~]# ldapmodify -x -p 1289 -h localhost -D "cn=Directory
Manager" -w Secret123 << EOF
dn: cn=1289_to_1489_on_ibm-hs23-01.rhts.eng.bos.redhat.com,cn=replica,cn=dc\3Dp
asssync\2Cdc\3Dcom,cn=mapping tree,cn=config
changetype: modify
replace: nsds5ReplicaHost
nsDS5ReplicaHost: newhost.test.name.com
EOF

modifying entry "cn=1289_to_1489_on_ibm-hs23-01.rhts.eng.bos.redhat.com,cn=repl
ica,cn=dc\3Dpasssync\2Cdc\3Dcom,cn=mapping tree,cn=config"
ldap_modify: Server is unwilling to perform (53)



Actual results: Server returns unwilling to perform error

From access log:

[03/Mar/2014:12:42:31 -0500] conn=1 op=0 BIND dn="cn=Directory Manager"
method=128 version=3
[03/Mar/2014:12:42:31 -0500] conn=1 op=0 RESULT err=0 tag=97 nentries=0 etime=0
dn="cn=directory manager"
[03/Mar/2014:12:42:31 -0500] conn=1 op=1 MOD dn="cn=1289_to_1489_on_ibm-hs23-01
.rhts.eng.bos.redhat.com,cn=replica,cn=dc\3Dpasssync\2Cdc\3Dcom,cn=mapping
tree,cn=config"
[03/Mar/2014:12:42:31 -0500] conn=1 op=1 RESULT err=53 tag=103 nentries=0
etime=0
[03/Mar/2014:12:42:31 -0500] conn=1 op=2 UNBIND
[03/Mar/2014:12:42:31 -0500] conn=1 op=2 fd=64 closed - U1


Expected results: It should allow dynamic updates for nsds5ReplicaHost
attribute.


Additional info:

git merge ticket47727
Updating 22fd3c2..d4e13f5
Fast-forward
ldap/servers/plugins/replication/repl5.h | 1 +
ldap/servers/plugins/replication/repl5_agmt.c | 30 +++++++++++++++++++++
ldap/servers/plugins/replication/repl5_agmtlist.c | 19 +++++++++++++
3 files changed, 50 insertions(+), 0 deletions(-)

git push origin master
Counting objects: 17, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 1.04 KiB, done.
Total 9 (delta 7), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
22fd3c2..d4e13f5 master -> master

commit d4e13f5
Author: Mark Reynolds mreynolds@redhat.com
Date: Tue Mar 4 11:16:59 2014 -0500

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: 1.3.3 backlog

7 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1061

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

3 years ago

Login to comment on this ticket.

Metadata