summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-01-04 19:58:33 +0100
committerMartin Kosek <mkosek@redhat.com>2012-01-13 09:10:58 +0100
commitbc5085699d92369460c04050fad11bf64978fbd3 (patch)
tree706095a30123079c2a09db1c044ce5ffc2437453
parent649d13b59746582ee19a7b40e454bc268b1b9be9 (diff)
downloadfreeipa-bc5085699d92369460c04050fad11bf64978fbd3.tar.gz
freeipa-bc5085699d92369460c04050fad11bf64978fbd3.tar.xz
freeipa-bc5085699d92369460c04050fad11bf64978fbd3.zip
Fix LDAP updates in ipa-replica-install
ipalib API needs to be bootstrapped in 'installer' context otherwise LDAP update plugins don't get initialized and ipa-replica-install crashes. https://fedorahosted.org/freeipa/ticket/2139
-rwxr-xr-xinstall/tools/ipa-replica-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install
index dcf866202..ece60e16d 100755
--- a/install/tools/ipa-replica-install
+++ b/install/tools/ipa-replica-install
@@ -354,7 +354,7 @@ def main():
finally:
os.umask(old_umask)
- api.bootstrap(in_server=True)
+ api.bootstrap(in_server=True, context='installer')
api.finalize()
# Create DS group if it doesn't exist yet