[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: slapd: way of configuration


Actually, modifying .ldif files directly and restarting the slapd worked
for me.
I have tested it many times for different changes, so far so good.
You are welcome to test it out.


-----Original Message-----
From: openldap-technical-bounces@OpenLDAP.org
[mailto:openldap-technical-bounces@OpenLDAP.org] On Behalf Of Quanah
Sent: Monday, September 24, 2012 12:44 PM
To: Tobias Hachmer; openldap-technical@openldap.org
Subject: Re: slapd: way of configuration

--On Monday, September 24, 2012 6:11 PM +0200 Tobias Hachmer
<lists@kokelnet.de> wrote:

> Hello list,
> I want to know what the recommended way is to configure slapd. I'm 
> using openldap package 2.4.28 under ubuntu precise.
> As default there is no /etc/ldap/slapd.conf and the whole 
> configuration is located under /etc/ldap/slapd.d/ in ldif format.
> 1. Must I use ldapmodify to change slapd configuration in cn=config 
> backend or can I just change configuration directives directly in the 
> appropriate ldif file under /etc/ldap/slapd.d/cn=config/* ? If the 
> latter, have I to restart slapd after configuration changes?

You must use ldapmodify.  Alternatively, you can slapcat the cn=config DB,
modify the resulting LDIF, and re-import it.  See the -n 0 option to

Never modify the files under cn=config directly.

> 2. Will the old school way to configure slapd via slapd.conf be 
> deprecated and not available at all in future?




Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
Zimbra ::  the leader in open source messaging and collaboration