On 01/08/2016 06:17 PM, Martin Basti wrote:



On 08.01.2016 17:18, Martin Babinsky wrote:
fixes ipa-csreplica-manage del blowing up due

https://fedorahosted.org/freeipa/ticket/5583

for master and ipa-4-3 only.

Give me patch pleaaaaaaaaaaaaaaaaaaaaaaaase!!

Auto-attach plugin would be most welcome.. here's the patch.

--
Martin^3 Babinsky
From 8c87211d0f51f692999b0393de4b795564b87f8a Mon Sep 17 00:00:00 2001
From: Martin Babinsky <mbabi...@redhat.com>
Date: Thu, 7 Jan 2016 18:09:41 +0100
Subject: [PATCH] ipa-csreplica-manage: remove extraneous ldap2 connection

https://fedorahosted.org/freeipa/ticket/5583
---
 install/tools/ipa-csreplica-manage | 2 --
 1 file changed, 2 deletions(-)

diff --git a/install/tools/ipa-csreplica-manage b/install/tools/ipa-csreplica-manage
index 96f565839362f268ca15aa904f838ef9927fe7b2..f271863b8f8a6addf630bf8d570adf039db64d89 100755
--- a/install/tools/ipa-csreplica-manage
+++ b/install/tools/ipa-csreplica-manage
@@ -285,8 +285,6 @@ def del_master(realm, hostname, options):
     try:
         if bindinstance.dns_container_exists(options.host, api.env.basedn,
                                              dm_password=options.dirman_passwd):
-            api.Backend.ldap2.connect(bind_dn=DN(('cn', 'Directory Manager')),
-                                      bind_pw=options.dirman_passwd)
             bind = bindinstance.BindInstance()
             bind.remove_ipa_ca_dns_records(hostname, realm.lower())
     except Exception as e:
-- 
2.5.0

-- 
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