summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-install
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2007-08-15 18:30:15 -0400
committerSimo Sorce <ssorce@redhat.com>2007-08-15 18:30:15 -0400
commit788149e2e5d0da3294e46e5f0daa364c32b41ce9 (patch)
treeeedcf39d22d59bbd0090bf5bdf65ddf29e41d380 /ipa-server/ipa-install
parenta8e489e06598c228ff11910ff1f3509ce2661c9c (diff)
downloadfreeipa-788149e2e5d0da3294e46e5f0daa364c32b41ce9.tar.gz
freeipa-788149e2e5d0da3294e46e5f0daa364c32b41ce9.tar.xz
freeipa-788149e2e5d0da3294e46e5f0daa364c32b41ce9.zip
Activate the passwd extop plugin and ipa-kpasswd daemon
Diffstat (limited to 'ipa-server/ipa-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 8ba8425dc..316fe254c 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")