From 96422ed921e77e31f9ff44df2fd99999b27fa515 Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: Wed, 31 Jul 2013 11:29:07 -0400 Subject: [PATCH] Ticket 47425 - should only call windows_update_done if repl agmt type is windows Description: we should only call windows_update_done() if the agreement is for AD. https://fedorahosted.org/389/ticket/47425 Reveiwed by: ? --- ldap/servers/plugins/replication/repl5_agmt.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ldap/servers/plugins/replication/repl5_agmt.c b/ldap/servers/plugins/replication/repl5_agmt.c index b7d107e..d3ee568 100644 --- a/ldap/servers/plugins/replication/repl5_agmt.c +++ b/ldap/servers/plugins/replication/repl5_agmt.c @@ -2650,7 +2650,9 @@ agmt_update_done(Repl_Agmt *agmt, int is_total) during the update into the proper structures so they are in place for the next run */ - windows_update_done(agmt, is_total); + if(get_agmt_agreement_type(agmt) == REPLICA_TYPE_WINDOWS){ + windows_update_done(agmt, is_total); + } } int -- 1.7.1