service: rename import_ca_certs_* to export_*

The import_ca_certs_{file,nssdb} methods were actually exporting
CA certificates from LDAP to different formats. The new names should
better reflect what these methods are actually doing.

Related: https://pagure.io/freeipa/issue/3757
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Stanislav Laznicka
2018-02-08 09:30:27 +01:00
parent 92d91ed58b
commit 0c388d1e8f
4 changed files with 7 additions and 7 deletions

View File

@@ -938,7 +938,7 @@ class DsInstance(service.Service):
conn.simple_bind(bind_dn=ipaldap.DIRMAN_DN,
bind_password=self.dm_password)
self.import_ca_certs_nssdb(dsdb, self.ca_is_configured, conn)
self.export_ca_certs_nssdb(dsdb, self.ca_is_configured, conn)
conn.unbind()