mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Simplify LDAPUpdater
- drop unused dm_password and ldapi arguments - remove online feature that was never implemented - allow passing of api object that is used to populate substitution dictionary - simplify substitution dictionary updates - remove unused instances vars Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
committed by
Rob Crittenden
parent
87cf2a3c78
commit
99a40cbbe9
@@ -673,10 +673,6 @@ class CAInstance(DogtagInstance):
|
||||
self._ldap_update(
|
||||
[paths.CA_TOPOLOGY_ULDIF],
|
||||
basedir=None,
|
||||
sub_dict={
|
||||
'SUFFIX': api.env.basedn,
|
||||
'FQDN': self.fqdn,
|
||||
}
|
||||
)
|
||||
|
||||
def __disable_nonce(self):
|
||||
@@ -1361,13 +1357,7 @@ class CAInstance(DogtagInstance):
|
||||
"Did not find any lightweight CAs; nothing to track")
|
||||
|
||||
def __dogtag10_migration(self):
|
||||
self._ldap_update(
|
||||
['50-dogtag10-migration.update'],
|
||||
sub_dict={
|
||||
'SUFFIX': api.env.basedn,
|
||||
'FQDN': self.fqdn,
|
||||
}
|
||||
)
|
||||
self._ldap_update(['50-dogtag10-migration.update'])
|
||||
|
||||
def is_crlgen_enabled(self):
|
||||
"""Check if the local CA instance is generating CRL
|
||||
|
||||
Reference in New Issue
Block a user