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

Re: cn=config example

Gavin Henry wrote:
Emmanuel Dreyfus wrote:
Howard Chu <hyc@symas.com> wrote:

If you have an existing slapd.conf you can simply let slapd convert it to a
cn=config database for you.
That's the -F flag, but how does it works? I made little attemps,
without much success.

As I understand, schema replication won't work with syncrepl on 2.3.x,

There's a new man page in 2.4 (slapd-config), but basically:

"Alternatively, an existing slapd.conf file can be converted to the new
format using slapd or any of the slap tools:
slaptest -f /usr/local/etc/openldap/slapd.conf -F ETCDIR/slapd."

Note that this feature was already documented in the existing slapd/slapadd/slap* manpages in 2.3. It's a shame that we go to the trouble of writing these docs that nobody actually reads.
-- 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/