mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Replace /etc/ipa/ipa.conf with /etc/ipa/default.conf
The new framework uses default.conf instead of ipa.conf. This is useful also because Apache uses a configuration file named ipa.conf. This wipes out the last vestiges of the old ipa.conf from v1.
This commit is contained in:
committed by
Jason Gerard DeRose
parent
2f8129a17c
commit
384eec771d
@@ -269,14 +269,14 @@ 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':ipasrv.getServerName()},
|
||||
#[global]
|
||||
defopts = [{'name':'xmlrpc_uri', 'type':'option', 'value':'https://%s/ipa/xml' % ipasrv.getServerName()},
|
||||
{'name':'realm', 'type':'option', 'value':ipasrv.getRealmName()}]
|
||||
|
||||
opts.append({'name':'defaults', 'type':'section', 'value':defopts})
|
||||
opts.append({'name':'global', 'type':'section', 'value':defopts})
|
||||
opts.append({'name':'empty', 'type':'empty'})
|
||||
|
||||
ipaconf.newConf("/etc/ipa/ipa.conf", opts)
|
||||
ipaconf.newConf("/etc/ipa/default.conf", opts)
|
||||
|
||||
# Configure ldap.conf
|
||||
ldapconf = ipachangeconf.IPAChangeConf("IPA Installer")
|
||||
|
||||
Reference in New Issue
Block a user