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

Re: how to add a new database with slapd.d?

Jonathan Clarke wrote:
On 26/07/2010 13:10, Zhang Weiwu wrote:
With Ubuntu 10.04, slapd is shipped by default using slapd.d
configuration instead of slapd.conf. Referring to the document [1] I
believe adding a new database should be as simple as adding a new file
in slapd.d/cn=config/

No. Never create files inside slapd.d by hand.

One would usually add the new configuration object via LDAP, rather than
by modifying the database files. This is the point of cn=config.
However, adding files may work also...

No. cn=config is only meant to be manipulated via LDAP or slap* tools. Never muck around directly in the files.

But it doesn't work for me.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/