>> Note that that is a "minus one" after the -d
option.
>
> I can see the following logs:
>
> 5ed7ca87 : config_add_internal: DN="cn=config" already exists
> slapadd: could not add entry dn="cn=config" (line=1):
>
> I checked one again that /etc/ldap/slapd.d is empty.
> What I missed?
Is it using /etc/openldap/slapd.d rather than /etc/ldap/slapd.d perhaps?
The output should include the location it is attempting to write to, IIRC.
In order to prepare multi-master replication, I imported config & data, with ldif
export from another server.
I imported with slapadd -F.
It's not a best practice I believe.
Now I exported config with "slapcat -n 0", but my export keeps traces, isn't
it? Can I correct this?
Thanks,
Jean-Luc