Description of problem: The inf file supplied to setup/ds_newist.pl should allow the user to load only the minimum schema (00core.ldif) Version-Release number of selected component (if applicable): 1.1 CVS How reproducible: Every time Steps to Reproduce: 1. provision a DS instance with ds_newinst 2. note that a very large amount of schema is loaded 3. Actual results: Lots of schema loaded, conflicting with AD-like schema Expected results: Ability to say 'just the bare minimum' Additional info: This would simplify Samba4 setup against Fedora DS.
Created attachment 155069 [details] Patch to add an option for installing partial/full schema This patch implements a new configuration option [slapd] install_full_schema= 1 Setting this to 0 will only install 00core.ldif
Created attachment 155526 [details] Revised patch for install_full_schema This patch has been more extensivly tested, and in particular fixes an issue with any variable = 0 (it would not be sent to the ds_newinst-bin 'server').
Thank you for adding the logic. Your new diff looks good to me.
Created attachment 156515 [details] cvs commit log Fix Description: Fixed by abartlet. Add a new configuration param to create_instance - install_full_schema. By default this is 1, meaning the traditional behavior of installing all of the schema. If set to 0, this will only install the 00core.ldif schema file. This also required enhancements to ds_newinst.pl as well as a bug fix to allow passing in a 0 value. Reviewed by: nhosoi, rmeggins