[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: back-config problems
- To: openLDAP-software <openLDAP-software@OpenLDAP.org>
- Subject: Re: back-config problems
- From: Dave Lee <dave.lee.wilson@gmail.com>
- Date: Sat, 9 Jul 2005 12:31:34 -0600
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KP5ovwxzjHFOgxb3WQjyJAGoIGvyTepVZKnPY8lTRQh1eM/ViAIkbcPoZmLni7HRNCcDFPbIsE0uG9fF3hjJKq2F/QW74K3FIc6o5IhRyeH3cJ4tj4Y+twRA+lOcX2thNLQeoRdR6HbIfBJAP+d5bukYh6PscA95GrvetiKiT6c=
- In-reply-to: <42CEDCC2.5080002@midco.net>
- References: <42CEDCC2.5080002@midco.net>
On 7/8/05, Aaron Thoreson <aaront@midco.net> wrote:
> I am having trouble getting the initial config LDIF loaded into OpenLDAP
> 2.3.4. I figured I was doing something wrong so I trimmed down the
> config.ldif to a slightly modified copy of the example provided in the
> 2.3 Admin Guide. It seems regardless my changes, I still die here:
I'm not sure about your error, but I found the best way to get started
with back-config was mentioned in the slapd man page
"If both -f and -F are specified, the config file will be read and
converted to config directory format and written to the specified
directory."
I started with a slightly modified slapd.conf, ran slapd -f
path/to/slapd.conf -F path/to/slapd.d to get a set of ldif config
files. then I removed slapd.conf.
the ldif config files seem complete in that they contain what appear
to be all of the settings, with default values if not provided in the
slapd.conf.
I think this would be useful to add to the admin guide.
Dave