summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/cainstance.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-01-17 09:24:21 -0500
committerMartin Kosek <mkosek@redhat.com>2013-03-01 16:59:43 +0100
commit2f84bd694bc5ce00d70ca297c7232ad03d5a554c (patch)
tree6db8fdfc48c70011959f0f95f27a4b8437924241 /ipaserver/install/cainstance.py
parent08276c24febf392bbf67cd4917ce65c77e371aef (diff)
downloadfreeipa-2f84bd694bc5ce00d70ca297c7232ad03d5a554c.tar.gz
freeipa-2f84bd694bc5ce00d70ca297c7232ad03d5a554c.tar.xz
freeipa-2f84bd694bc5ce00d70ca297c7232ad03d5a554c.zip
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
Diffstat (limited to 'ipaserver/install/cainstance.py')
-rw-r--r--ipaserver/install/cainstance.py3
1 files changed, 2 insertions, 1 deletions
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)