diff options
author | Simo Sorce <ssorce@redhat.com> | 2008-02-21 09:38:39 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2008-02-21 09:38:39 -0500 |
commit | 33b746df58b4da5cef7bebd096e1759a02746341 (patch) | |
tree | afe32cd959839ffd24bf9d02ab682217c1d794ca /ipa-client/ipa-install/ipa-client-install | |
parent | f87db10a0735778e5b0ea89ed121a8f12b23e833 (diff) | |
parent | e368fa18443b70141cdd3bed804a22c70ddd12af (diff) | |
download | freeipa-33b746df58b4da5cef7bebd096e1759a02746341.tar.gz freeipa-33b746df58b4da5cef7bebd096e1759a02746341.tar.xz freeipa-33b746df58b4da5cef7bebd096e1759a02746341.zip |
merge
Diffstat (limited to 'ipa-client/ipa-install/ipa-client-install')
-rw-r--r-- | ipa-client/ipa-install/ipa-client-install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index 177a727e4..318994118 100644 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -157,6 +157,7 @@ def main(): opts.append({'name':'empty', 'type':'empty'}) ipaconf.newConf("/etc/ipa/ipa.conf", opts) + print "Created /etc/ipa/ipa.conf" # Configure ldap.conf ldapconf = ipaclient.ipachangeconf.IPAChangeConf("IPA Installer") @@ -175,6 +176,7 @@ def main(): opts.append({'name':'empty', 'type':'empty'}) try: ldapconf.newConf("/etc/ldap.conf", opts) + print "Configured /etc/ldap.conf" except Exception, e: print "Configuration failed: " + str(e) return 1 @@ -235,9 +237,11 @@ def main(): opts.append({'name':'appdefaults', 'type':'section', 'value':appopts}) krbconf.newConf("/etc/krb5.conf", opts); + print "Configured /etc/krb5.conf for IPA realm " + ds.getRealmName() #Modify nsswitch to add nss_ldap run(["/usr/sbin/authconfig", "--enableldap", "--update"]) + print "LDAP enabled" #Check nss_ldap is working properly if not options.on_master: @@ -257,9 +261,11 @@ def main(): #Modify pam to add pam_krb5 run(["/usr/sbin/authconfig", "--enablekrb5", "--update"]) + print "Kerberos 5 enabled" if options.conf_ntp and not options.on_master: ipaclient.ntpconf.config_ntp(ds.getServerName()) + print "NTP enabled" print "Client configuration complete." |