This is an automated email from the git hooks/post-receive script.
lkrispen pushed a change to branch 389-ds-base-1.3.6
in repository 389-ds-base.
from 009800b Ticket 49402 - Adding a database entry with the same database name
that was deleted hangs server at shutdown
new 7cbeed8 Ticket 49431 - replicated MODRDN fails breaking replication
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
ldap/servers/plugins/replication/urp.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by thread
This is an automated email from the git hooks/post-receive script.
lkrispen pushed a commit to branch 389-ds-base-1.3.6
in repository 389-ds-base.
commit 7cbeed84f3ca3221e679495324bf641a23ceecce
Author: Ludwig Krispenz <lkrispen(a)redhat.com>
Date: Sun Oct 29 16:32:11 2017 +0100
Ticket 49431 - replicated MODRDN fails breaking replication
Bug: in urp modrdn_operation not a full dn was passed to generate the conflict rdn
passed
and so the sufix test failed
Fix: provide full dn of new entry
Reviewed by: Mark, Thanks
---
ldap/servers/plugins/replication/urp.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/ldap/servers/plugins/replication/urp.c
b/ldap/servers/plugins/replication/urp.c
index 64810e9..21319d9 100644
--- a/ldap/servers/plugins/replication/urp.c
+++ b/ldap/servers/plugins/replication/urp.c
@@ -433,7 +433,14 @@ urp_modrdn_operation( Slapi_PBlock *pb )
/* The target entry is a loser */
char *newrdn_with_uniqueid;
- newrdn_with_uniqueid= get_rdn_plus_uniqueid (sessionid, newrdn, op_uniqueid);
+ char *newdn = NULL;
+ if (new_parent_entry) {
+ newdn = slapi_ch_smprintf("%s,%s", newrdn,
slapi_entry_get_dn(new_parent_entry));
+ } else {
+ newdn = slapi_ch_smprintf("%s,%s", newrdn,
slapi_entry_get_dn(parent_entry));
+ }
+ newrdn_with_uniqueid= get_rdn_plus_uniqueid (sessionid, newdn, op_uniqueid);
+ slapi_ch_free_string(&newdn);
if(newrdn_with_uniqueid==NULL)
{
op_result= LDAP_OPERATIONS_ERROR;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.