ldap/servers/plugins/replication/repl5_agmt.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 91c2c5727a49f536a514aa81673c1460eeb5a655
Author: Mark Reynolds <mreynolds(a)redhat.com>
Date: Wed Jul 31 11:29:07 2013 -0400
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: richm(Thanks!)
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