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

Re: cn=config example

Buchan Milne wrote:
On Friday 21 September 2007 09:52:03 Howard Chu wrote:
At present, it seems that if you want to do the conversion while slapd is
running, and for a slapd that runs as non-root, something like this is
the best option:

# slapd -u ldap -g ldap -d none -h
ldap://localhost:391/ -f /etc/openldap/slapd.conf -F

As then
-The configuration will be converted
-slapd won't start up
What makes you say that?

It will fail to open the database already opened by the running slapd.

You're assuming a back-bdb/hdb database. Not everyone uses them. There are quite a large number of installations using just back-ldap/meta etc... The slaptest invocation will always work.

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