浏览代码

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 年之前
父节点
当前提交
91c2c5727a
共有 1 个文件被更改,包括 3 次插入1 次删除
  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