summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-install/ipa-server-install
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-server/ipa-install/ipa-server-install')
-rw-r--r--ipa-server/ipa-install/ipa-server-install8
1 files changed, 7 insertions, 1 deletions
diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install
index 8ba8425d..316fe254 100644
--- a/ipa-server/ipa-install/ipa-server-install
+++ b/ipa-server/ipa-install/ipa-server-install
@@ -113,7 +113,7 @@ def main():
krb.create_instance(options.ds_user, options.realm_name, host_name,
options.password, options.master_password)
- # Restart ds after the krb instance have add the sasl map
+ # Restart ds after the krb instance has changed ds configurations
ds.restart()
# Restart apache
@@ -128,6 +128,12 @@ def main():
# Set the KDC to start on boot
run(["/sbin/chkconfig", "krb5kdc", "on"])
+ # Set the Kpasswd to start on boot
+ run(["/sbin/chkconfig", "ipa-kpasswd", "on"])
+
+ # Start Kpasswd
+ run(["/sbin/service", "ipa-kpasswd", "start"])
+
# Create the config file
fd = open("/etc/ipa/ipa.conf", "w")
fd.write("[defaults]\n")