From 64575a411b27dde7919406fdaf5bdec07c6645f3 Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Tue, 15 Feb 2011 14:11:27 -0500 Subject: Use ldapi: instead of unsecured ldap: in ipa core tools. The patch also corrects exception handling in some of the tools. Fix #874 --- install/tools/ipa-server-certinstall | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'install/tools/ipa-server-certinstall') diff --git a/install/tools/ipa-server-certinstall b/install/tools/ipa-server-certinstall index 5fc5811d4..74ded157c 100755 --- a/install/tools/ipa-server-certinstall +++ b/install/tools/ipa-server-certinstall @@ -64,8 +64,7 @@ def parse_options(): return options, args[0] def set_ds_cert_name(cert_name, dm_password): - ldapuri = 'ldap://127.0.0.1' - conn = ldap2(shared_instance=False, ldap_uri=ldapuri, base_dn='') + conn = ldap2(shared_instance=False, base_dn='') conn.connect(bind_dn='cn=directory manager', bind_pw=dm_password) mod = {'nssslpersonalityssl': cert_name} conn.update_entry('cn=RSA,cn=encryption,cn=config', mod) -- cgit