diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-01-25 18:46:26 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2011-01-25 14:01:36 -0500 |
commit | ab2ca8022e4bd89e87e0b7ce908022e6df350866 (patch) | |
tree | 2f2bde264c001886e90dfb10466539e8f8b75782 /install/tools | |
parent | 27da394c442e98334726a7aae7da885c840be350 (diff) | |
download | freeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.tar.gz freeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.tar.xz freeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.zip |
Fix assorted bugs found by pylint
Diffstat (limited to 'install/tools')
-rwxr-xr-x | install/tools/ipa-replica-install | 4 | ||||
-rwxr-xr-x | install/tools/ipa-server-certinstall | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install index 9fca31ff7..717d25f05 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 543c770b6..5fc5811d4 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]) |