summaryrefslogtreecommitdiffstats
path: root/install/tools
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2016-01-07 18:09:41 +0100
committerMartin Basti <mbasti@redhat.com>2016-01-13 09:58:23 +0100
commita81e69a796fee2405252838d512e5b950f3be5d8 (patch)
tree28cf383ded8a3e6941f4b0e7fcde724d4b17187a /install/tools
parent50627004b83fe155767fb02b51099eba612a5855 (diff)
downloadfreeipa-a81e69a796fee2405252838d512e5b950f3be5d8.tar.gz
freeipa-a81e69a796fee2405252838d512e5b950f3be5d8.tar.xz
freeipa-a81e69a796fee2405252838d512e5b950f3be5d8.zip
ipa-csreplica-manage: remove extraneous ldap2 connection
https://fedorahosted.org/freeipa/ticket/5583 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'install/tools')
-rwxr-xr-xinstall/tools/ipa-csreplica-manage2
1 files changed, 0 insertions, 2 deletions
diff --git a/install/tools/ipa-csreplica-manage b/install/tools/ipa-csreplica-manage
index 96f565839..f271863b8 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: