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

Re: Replication using cn=config





--On Friday, April 05, 2013 01:49:11 PM +0100 Andre Rodier <andre.rodier@gmail.com> wrote:

Hello Everyone,

I am trying to implement mirorring replication on OpenLDAP on debian
wheezy, and I am struggling since a few days.

All the documentation I have found so far on the web site is related
to OpenLDAP with a configuration file (slapd.conf)

Can anyone gives me a clue on how I can adapt the examples given on
the web site to the database configuration backend (cn=config).

You can convert a files based configuration to cn=config with slaptest.
For example:

 ldaptest -f random-slapd.conf -F random-slapd.d

This will generate the ldif that you can poke at and does things like
pull out replication bits and apply them to a working server using
ldapmodify.

Bill

--

Bill MacAllister
Infrastructure Delivery Group, Stanford University