Bug 281631 - Pass in schema and config LDIF files to setup
Summary: Pass in schema and config LDIF files to setup
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Install/Uninstall
Version: 1.1.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks: 240316 FDS1.1.0
TreeView+ depends on / blocked
 
Reported: 2007-09-06 22:57 UTC by Rich Megginson
Modified: 2015-12-07 16:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-07 16:35:06 UTC
Embargoed:


Attachments (Terms of Use)
diffs (6.59 KB, patch)
2007-09-06 23:01 UTC, Rich Megginson
no flags Details | Diff
cvs commit log (700 bytes, text/plain)
2007-09-07 15:03 UTC, Rich Megginson
no flags Details

Description Rich Megginson 2007-09-06 22:57:29 UTC
We should allow the user to pass in additional schema files and additional
config entries during setup to allow e.g. custom schema with the
InstallLdifFile, or the creation of additional suffixes/databases, or
replication configuration, or whatever.

Comment 1 Rich Megginson 2007-09-06 23:01:16 UTC
Created attachment 189321 [details]
diffs

Comment 2 Noriko Hosoi 2007-09-06 23:30:04 UTC
Looks good to me.

Comment 3 Rich Megginson 2007-09-07 15:03:17 UTC
Created attachment 190001 [details]
cvs commit log

Reviewed by: nhosoi (Thanks!)
Files: see diff
Branch: HEAD
Fix Description: 1) Allow multi-valued parameters in .inf files and command
line.  These values will be represented internally as an array ref.  No
existing parameters allow being multi-valued (e.g. you can't use Suffix=o=foo
and Suffix=o=bar)
2) Add two new .inf parameters - SchemaFile and ConfigFile.  The files listed
in SchemaFile will be copied into the schema subdirectory of the new instance,
so they must already be named appropriately (e.g. 60foo.ldif).	The files
listed in ConfigFile must be LDIF files with one or more whole entries to be
added to the initial dse.ldif.	These could be additional suffixes/databases to
create, plugin configuration, replication configuration, or anything else.
Right now, if you have an LDIF file that relies on custom schema, you cannot
use the InstallLdifFile directive during setup.  SchemaFile allows you to do
that.
Platforms tested: RHEL5
Flag Day: no
Doc impact: Will need to document the two additional parameters.


Note You need to log in before you can comment on or make changes to this bug.