Browse Source

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!)
Mark Reynolds 12 years ago
parent
commit
91c2c5727a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      ldap/servers/plugins/replication/repl5_agmt.c

+ 3 - 1
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