summaryrefslogtreecommitdiffstats
path: root/install/tools
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-01-25 18:46:26 +0100
committerSimo Sorce <ssorce@redhat.com>2011-01-25 14:01:36 -0500
commitab2ca8022e4bd89e87e0b7ce908022e6df350866 (patch)
tree2f2bde264c001886e90dfb10466539e8f8b75782 /install/tools
parent27da394c442e98334726a7aae7da885c840be350 (diff)
downloadfreeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.zip
freeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.tar.gz
freeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.tar.xz
Fix assorted bugs found by pylint
Diffstat (limited to 'install/tools')
-rwxr-xr-xinstall/tools/ipa-replica-install4
-rwxr-xr-xinstall/tools/ipa-server-certinstall2
2 files changed, 3 insertions, 3 deletions
diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install
index 9fca31f..717d25f 100755
--- a/install/tools/ipa-replica-install
+++ b/install/tools/ipa-replica-install
@@ -439,8 +439,8 @@ def main():
# We ned to ldap_enable the CA now that DS is up and running
if CA:
- CA.ldap_enable('CA', host_name, dm_password,
- util.realm_to_suffix(self.realm_name))
+ CA.ldap_enable('CA', config.host_name, config.dirman_password,
+ util.realm_to_suffix(config.realm_name))
install_krb(config, setup_pkinit=options.setup_pkinit)
install_http(config)
diff --git a/install/tools/ipa-server-certinstall b/install/tools/ipa-server-certinstall
index 543c770..5fc5811 100755
--- a/install/tools/ipa-server-certinstall
+++ b/install/tools/ipa-server-certinstall
@@ -141,7 +141,7 @@ def main():
set_ds_cert_name(server_cert[0], dm_password)
if options.http:
- dirname = httpinstance.NSS_DIR
+ dirname = certs.NSS_DIR
server_cert = import_cert(dirname, pkcs12_fname, options.http_pin, "")
installutils.set_directive(httpinstance.NSS_CONF, 'NSSNickname', server_cert[0])