diff options
author | Rob Crittenden <rcritten@redhat.com> | 2009-04-03 16:17:47 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-04-13 14:53:08 -0400 |
commit | 44afa977a88bfd376cbd6a212a790b9549c903a5 (patch) | |
tree | 81ac648c586fae1aa817391d0936eca0e8046f84 /ipa-client | |
parent | ab730411740814e0354a2c16f83407707b4a542c (diff) | |
download | freeipa-44afa977a88bfd376cbd6a212a790b9549c903a5.tar.gz freeipa-44afa977a88bfd376cbd6a212a790b9549c903a5.tar.xz freeipa-44afa977a88bfd376cbd6a212a790b9549c903a5.zip |
The new admin tool 'ipa' uses a different configuration file, create it.
Diffstat (limited to 'ipa-client')
-rw-r--r-- | ipa-client/ipa-install/ipa-client-install | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index 24db3f8f1..7701086c0 100644 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -221,17 +221,18 @@ def main(): opts = [{'name':'comment', 'type':'comment', 'value':'File modified by ipa-client-install'}, {'name':'empty', 'type':'empty'}] - #[defaults] - defopts = [{'name':'server', 'type':'option', 'value':cli_server}, + #[global] + defopts = [{'name':'basedn', 'type':'option', 'value':cli_basedn}, {'name':'realm', 'type':'option', 'value':cli_realm}, - {'name':'domain', 'type':'option', 'value':cli_domain}] + {'name':'domain', 'type':'option', 'value':cli_domain}, + {'name':'xmlrpc_uri', 'type':'option', 'value':'https://%s/ipa/xml' % cli_server}] - opts.append({'name':'defaults', 'type':'section', 'value':defopts}) + opts.append({'name':'global', 'type':'section', 'value':defopts}) opts.append({'name':'empty', 'type':'empty'}) - fstore.backup_file("/etc/ipa/ipa.conf") - ipaconf.newConf("/etc/ipa/ipa.conf", opts) - print "Created /etc/ipa/ipa.conf" + fstore.backup_file("/etc/ipa/default.conf") + ipaconf.newConf("/etc/ipa/default.conf", opts) + print "Created /etc/ipa/default.conf" # Configure ldap.conf |