From 2f84bd694bc5ce00d70ca297c7232ad03d5a554c Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Thu, 17 Jan 2013 09:24:21 -0500 Subject: 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 --- ipaserver/install/cainstance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ipaserver/install/cainstance.py') diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py index a5cfc6fb3..d29f6746c 100644 --- a/ipaserver/install/cainstance.py +++ b/ipaserver/install/cainstance.py @@ -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) -- cgit