pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0004-Fix-regression-which-prevents-creating-a-winsync-agr.patch

99b6f7
From 2f3c2538595664796d673517eb1c91edf5712d80 Mon Sep 17 00:00:00 2001
99b6f7
From: Ana Krivokapic <akrivoka@redhat.com>
99b6f7
Date: Tue, 12 Nov 2013 14:50:57 +0100
99b6f7
Subject: [PATCH] Fix regression which prevents creating a winsync agreement
99b6f7
99b6f7
A regression, which prevented creation of a winsync agreement,
99b6f7
was introduced in the original fix for ticket #3989.
99b6f7
99b6f7
https://fedorahosted.org/freeipa/ticket/3989
99b6f7
---
99b6f7
 ipaserver/install/replication.py | 3 ++-
99b6f7
 1 file changed, 2 insertions(+), 1 deletion(-)
99b6f7
99b6f7
diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py
99b6f7
index 4d8a4687e162155d7855e11ba5048bed2ff13fa5..c4e62fc91b4fb33c37b9f18ce167149ccd3bd54f 100644
99b6f7
--- a/ipaserver/install/replication.py
99b6f7
+++ b/ipaserver/install/replication.py
99b6f7
@@ -626,8 +626,9 @@ def setup_agreement(self, a_conn, b_hostname, port=389,
99b6f7
 
99b6f7
         if iswinsync:
99b6f7
             self.setup_winsync_agmt(entry, win_subtree)
99b6f7
+        else:
99b6f7
+            entry['nsds5ReplicaStripAttrs'] = [" ".join(STRIP_ATTRS)]
99b6f7
 
99b6f7
-        entry['nsds5ReplicaStripAttrs'] = [" ".join(STRIP_ATTRS)]
99b6f7
         a_conn.add_entry(entry)
99b6f7
 
99b6f7
         try:
99b6f7
-- 
99b6f7
1.8.3.1
99b6f7