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

Re: Replication using cn=config





--On Friday, April 05, 2013 06:34:33 PM +0200 Michael StrÃder <michael@stroeder.com> wrote:

Bill MacAllister wrote:


--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.

The command is called 'slaptest' - not 'ldaptest'.

Yeah, my fingers are programmed to type ldap.  My manager got a bit
kick out of it when I asked for a new ldaptop.

Bill

--

Bill MacAllister
Infrastructure Delivery Group, Stanford University