summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2008-12-01 15:33:15 -0500
committerSimo Sorce <ssorce@redhat.com>2008-12-01 17:18:57 -0500
commit0109c43636ac3c2c8bccbee04ee827678dabde3d (patch)
tree5f2ff0460ea5563a973b53a8546c2d64a0beae54
parentde7b4108d7f9e1c4aec09ca6aa3a3ccf16a6c7a1 (diff)
downloadfreeipa-0109c43636ac3c2c8bccbee04ee827678dabde3d.zip
freeipa-0109c43636ac3c2c8bccbee04ee827678dabde3d.tar.gz
freeipa-0109c43636ac3c2c8bccbee04ee827678dabde3d.tar.xz
Run updates on the replica too, otherwise changes to cn=config will be missing.
-rw-r--r--ipa-server/ipa-install/ipa-replica-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipa-server/ipa-install/ipa-replica-install b/ipa-server/ipa-install/ipa-replica-install
index ce59885..c2704be 100644
--- a/ipa-server/ipa-install/ipa-replica-install
+++ b/ipa-server/ipa-install/ipa-replica-install
@@ -270,6 +270,10 @@ def main():
webgui = httpinstance.WebGuiInstance()
webgui.create_instance()
+ # Apply any LDAP updates. Needs to be done after the replica is synced-up
+ service.print_msg("Applying LDAP updates")
+ ds.apply_updates()
+
service.restart("dirsrv")
service.restart("krb5kdc")