mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Move the decision to force schema updates out of IPASimpleLDAPObject
This decision used the api object, which might not be available in installer code. Move the decision to callers. Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
This commit is contained in:
committed by
Martin Kosek
parent
08276c24fe
commit
2f84bd694b
@@ -1752,7 +1752,8 @@ def replica_ca_install_check(config, master_ds_port):
|
||||
objectclass = 'ipaObject'
|
||||
root_logger.debug('Checking if IPA schema is present in %s', ca_ldap_url)
|
||||
try:
|
||||
connection = ldap2.IPASimpleLDAPObject(ca_ldap_url)
|
||||
connection = ldap2.IPASimpleLDAPObject(
|
||||
ca_ldap_url, force_schema_updates=False)
|
||||
connection.start_tls_s()
|
||||
connection.simple_bind_s(DN(('cn', 'Directory Manager')),
|
||||
config.dirman_password)
|
||||
|
Reference in New Issue
Block a user