On 07/01/2015 09:30 AM, Jan Cholasta wrote:
Dne 30.6.2015 v 12:37 Martin Babinsky napsal(a):
On 06/24/2015 05:21 PM, Jan Cholasta wrote:
Hi,

the attached patches fix <https://fedorahosted.org/freeipa/ticket/3090>
and <https://fedorahosted.org/freeipa/ticket/5073>.

Honza




Hi Honza,

everything seems to work except `ipa-replica-prepare` which raises the
following exception: http://fpaste.org/237625/43558123/

`git bisect` marks PATCH 453 as guilty.


See new patch 461 for a fix.

Rebased patches attached.


Had to fix a snippet of code recently introduced by Fraser's patch (see attachment) to make them work.

But otherwise everything seems to be OK.

ACK

--
Martin^3 Babinsky
From 3e068859a8d43d1f4c1654361b3bed0a02ee1e4c Mon Sep 17 00:00:00 2001
From: Martin Babinsky <mbabi...@redhat.com>
Date: Wed, 1 Jul 2015 14:09:41 +0200
Subject: [PATCH] fixed Fraser's LDAP call

---
 ipaserver/install/cainstance.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py
index 3ee8e83ce1941a8385f162feb0b73d309f51e830..5fd3017e16e0d7ed4b4f8eead0e59266fdaff097 100644
--- a/ipaserver/install/cainstance.py
+++ b/ipaserver/install/cainstance.py
@@ -1643,7 +1643,7 @@ def ensure_ldap_profiles_container():
     server_id = installutils.realm_to_serverid(api.env.realm)
     dogtag_uri = 'ldapi://%%2fvar%%2frun%%2fslapd-%s.socket' % server_id
 
-    conn = ldap2.ldap2(shared_instance=False, ldap_uri=dogtag_uri)
+    conn = ldap2.ldap2(api, ldap_uri=dogtag_uri)
     if not conn.isconnected():
         conn.connect(autobind=True)
 
-- 
2.4.3

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to