diff options
| author | Tomas Krizek <tkrizek@redhat.com> | 2016-10-06 17:35:04 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-11-07 11:34:03 +0100 |
| commit | 9340a1417acf120fed3e9ffbe9d658d3456743a1 (patch) | |
| tree | 8e01407f76908b39b774ae76cbc952d653559090 /install/restart_scripts | |
| parent | 5b81dbfda1e4f0799d4ce87e9987a896af3ff299 (diff) | |
| download | freeipa-9340a1417acf120fed3e9ffbe9d658d3456743a1.tar.gz freeipa-9340a1417acf120fed3e9ffbe9d658d3456743a1.tar.xz freeipa-9340a1417acf120fed3e9ffbe9d658d3456743a1.zip | |
install: remove dirman_pw from services
Remove directory manager's password from service's constructors
https://fedorahosted.org/freeipa/ticket/6461
Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'install/restart_scripts')
| -rw-r--r-- | install/restart_scripts/renew_ca_cert | 2 | ||||
| -rw-r--r-- | install/restart_scripts/renew_ra_cert | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/install/restart_scripts/renew_ca_cert b/install/restart_scripts/renew_ca_cert index 186fb34f6..7b3c8bdc6 100644 --- a/install/restart_scripts/renew_ca_cert +++ b/install/restart_scripts/renew_ca_cert @@ -74,7 +74,7 @@ def _main(): ipautil.kinit_keytab(principal, paths.KRB5_KEYTAB, ccache_filename) os.environ['KRB5CCNAME'] = ccache_filename - ca = cainstance.CAInstance(host_name=api.env.host, ldapi=False) + ca = cainstance.CAInstance(host_name=api.env.host) ca.update_cert_config(nickname, cert) if ca.is_renewal_master(): cainstance.update_people_entry(cert) diff --git a/install/restart_scripts/renew_ra_cert b/install/restart_scripts/renew_ra_cert index 17a7af9b0..62c5aa62c 100644 --- a/install/restart_scripts/renew_ra_cert +++ b/install/restart_scripts/renew_ra_cert @@ -48,7 +48,7 @@ def _main(): ccache_filename) os.environ['KRB5CCNAME'] = ccache_filename - ca = cainstance.CAInstance(host_name=api.env.host, ldapi=False) + ca = cainstance.CAInstance(host_name=api.env.host) if ca.is_renewal_master(): # Fetch the new certificate db = certs.CertDB(api.env.realm) |
