[Date Prev][Date Next]
RE: How to start slapd without slapd.conf?
And how to use such a bootstrap LDIF? Starting slapd with -f pointing to the LDIF does not work. That is what I have been looking for and could not find.
Another thing I have been wandering about: What is the rootDN if it is not set in a bootstrap LDIF like the one below?
From: Howard Chu [firstname.lastname@example.org]
Sent: Tuesday, August 20, 2013 13:28
To: Steppacher Ralf; email@example.com
Subject: Re: How to start slapd without slapd.conf?
Steppacher Ralf wrote:
> I re-read those sections. But they only describe how to convert a
pre-existing slapd.conf file. So, to bootstrap slapd I created a minimal
slapd.conf with just the config database and a rootdn/pw for it and converted
that with slaptest. But I find it a bit awkward that slapd.conf should be
mandatory to get started, but at the same time is declared deprecated in
chapter 5 of the administrator's guide.
slapd.conf is not mandatory. Only a few lines of LDIF are needed to bootstrap.
This is a minimal slapd.ldif that you can use; it's also provided in the test
suite as data/slapd-dynamic.ldif:
> Thanks anyway!
> From: openldap-technical-bounces@OpenLDAP.org [openldap-technical-bounces@OpenLDAP.org] on behalf of btb [firstname.lastname@example.org]
> Sent: Monday, August 19, 2013 13:57
> To: email@example.com
> Subject: Re: How to start slapd without slapd.conf?
> On 2013.08.19 07.35, Steppacher Ralf wrote:
>> Hello all,
>> this is probably a really stupid question... But I cannot figure out how
>> to start a freshly built slapd using only slapd-config configuration.
> please see section 5 [configuring slapd] of the administrator's guide.
> also see man 5 slapd-config and man 8 slaptest
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/