[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Error when trying to setup olcMirrorMode
Hi all,
I find my error.
First, you need to add olcMirrorMode in the same time that you add olcSyncRepl.
Secondly, my ldif fail to be executed due to an invalid caracteres which was the “-“. This caracter was not parsed correctly by openldap (ldapmodify) because I have created this ldif file on windows and try to execute it to linux.
I have created a new file under linux and edited it with nano and that work correctly.
Thanks for your help.
If you need a how to for this, please consult my website : http://www.cyrill-gremaud.ch/linux/howto-setup-n-way-multi-master-replication-with-openldap/
cyrill gremaud
On 08 Sep 2014, at 14:06, Ferenc Wagner <wferi@niif.hu> wrote:
> Gremaud Cyrill <cyrill.gremaud@hefr.ch> writes:
>
>> dn: olcDatabase={0}config,cn=config
>> changetype: modify
>> add: olcSyncRepl
>> olcSyncRepl: rid=001 ...
>> olcSyncRepl: rid=002 …
>> olcSyncRepl: rid=003 …
>> -
>> add: olcMirrorMode
>> olcMirrorMode: TRUE
>>
>> But ldapmodify give me an error when I try to use the “-“
>
> Please post that error. OpenLDAP's ldapmodify certainly accepts this
> syntax.
>
> Posting a version number may also hint others to chime in; unfortunately
> I can't offer much help on this topic.
> --
> Regards,
> Feri.