diff options
author | Martin Basti <mbasti@redhat.com> | 2015-10-08 10:38:44 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2015-10-15 18:37:52 +0200 |
commit | ae23432ef520850de820aff099679f3f639d1d2f (patch) | |
tree | dc8d7cc73cc1b31fb7183d5085ad56d1aee46b9b /ipaserver/install/server/install.py | |
parent | 65c89cc711331e5ae97f95b1f39190be1e9fdc3c (diff) | |
download | freeipa-ae23432ef520850de820aff099679f3f639d1d2f.tar.gz freeipa-ae23432ef520850de820aff099679f3f639d1d2f.tar.xz freeipa-ae23432ef520850de820aff099679f3f639d1d2f.zip |
Add option to specify LDIF file that contains DS configuration changes
This allows to user modify configuration changes of the directory server
instance during installation of DS
https://fedorahosted.org/freeipa/ticket/4949
Also fixes:
https://fedorahosted.org/freeipa/ticket/4048
https://fedorahosted.org/freeipa/ticket/1930
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipaserver/install/server/install.py')
-rw-r--r-- | ipaserver/install/server/install.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ipaserver/install/server/install.py b/ipaserver/install/server/install.py index 3164d0b94..566af69a2 100644 --- a/ipaserver/install/server/install.py +++ b/ipaserver/install/server/install.py @@ -734,7 +734,8 @@ def install(installer): if options.dirsrv_cert_files: ds = dsinstance.DsInstance(fstore=fstore, - domainlevel=options.domainlevel) + domainlevel=options.domainlevel, + config_ldif=options.dirsrv_config_mods) installer._ds = ds ds.create_instance(realm_name, host_name, domain_name, dm_password, dirsrv_pkcs12_info, @@ -743,7 +744,8 @@ def install(installer): hbac_allow=not options.no_hbac_allow) else: ds = dsinstance.DsInstance(fstore=fstore, - domainlevel=options.domainlevel) + domainlevel=options.domainlevel, + config_ldif=options.dirsrv_config_mods) installer._ds = ds ds.create_instance(realm_name, host_name, domain_name, dm_password, |