Fix assorted bugs found by pylint

This commit is contained in:
Jakub Hrozek
2011-01-25 18:46:26 +01:00
committed by Simo Sorce
parent 27da394c44
commit ab2ca8022e
17 changed files with 19 additions and 46 deletions

View File

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

View File

@@ -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])