Hello,
I'm trying to setup N-way multimaster replication for cn=config only (for the moment). I have problem when I try to add olcMirrorMode: TRUE. Here is my ldif file to do this:
dn: olcDatabase={0}config,cn=config changetype: modify add: olcMirrorMode olcMirrorMode: TRUE
and the error is the following :
root@ldap1:~/downloads/ldif/config# ldapmodify -Y EXTERNAL -H ldapi:// -f 7_addMirrorMode.ldif SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 modifying entry "olcDatabase={0}config,cn=config" ldap_modify: Server is unwilling to perform (53) additional info: shadow context; no update referral
I have tried a lot of things but nothing working. Please I really need your help.
Thanks a lot.
Cyrill Gremaud
Gremaud Cyrill cyrill.gremaud@hefr.ch schrieb am 08.09.2014 um 10:13 in
Nachricht 14EA9481-CCCB-4EE8-A6F2-FE2CA31C095A@hefr.ch:
Hello,
I'm trying to setup N-way multimaster replication for cn=config only (for the moment). I have problem when I try to add olcMirrorMode: TRUE. Here is my ldif file to do this:
dn: olcDatabase={0}config,cn=config changetype: modify add: olcMirrorMode olcMirrorMode: TRUE
and the error is the following :
root@ldap1:~/downloads/ldif/config# ldapmodify -Y EXTERNAL -H ldapi:// -f 7_addMirrorMode.ldif SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 modifying entry "olcDatabase={0}config,cn=config" ldap_modify: Server is unwilling to perform (53) additional info: shadow context; no update referral
Did you "add: olcUpdateRef"?
I have tried a lot of things but nothing working. Please I really need your help.
Thanks a lot.
Cyrill Gremaud
Gremaud Cyrill cyrill.gremaud@hefr.ch writes:
I'm trying to setup N-way multimaster replication for cn=config only (for the moment). I have problem when I try to add olcMirrorMode: TRUE. Here is my ldif file to do this:
dn: olcDatabase={0}config,cn=config changetype: modify add: olcMirrorMode olcMirrorMode: TRUE
and the error is the following :
root@ldap1:~/downloads/ldif/config# ldapmodify -Y EXTERNAL -H ldapi:// -f 7_addMirrorMode.ldif SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 modifying entry "olcDatabase={0}config,cn=config" ldap_modify: Server is unwilling to perform (53) additional info: shadow context; no update referral
Try setting olcMirrorMode and olcSyncRepl in the same modify operation.
Hello Ferenc Wagner and thanks for your response.
Yes I tried but I get another error when I do it.
Here is my ldif
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 “-“
On 08 Sep 2014, at 11:45, Ferenc Wagner wferi@niif.hu wrote:
Gremaud Cyrill cyrill.gremaud@hefr.ch writes:
I'm trying to setup N-way multimaster replication for cn=config only (for the moment). I have problem when I try to add olcMirrorMode: TRUE. Here is my ldif file to do this:
dn: olcDatabase={0}config,cn=config changetype: modify add: olcMirrorMode olcMirrorMode: TRUE
and the error is the following :
root@ldap1:~/downloads/ldif/config# ldapmodify -Y EXTERNAL -H ldapi:// -f 7_addMirrorMode.ldif SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 modifying entry "olcDatabase={0}config,cn=config" ldap_modify: Server is unwilling to perform (53) additional info: shadow context; no update referral
Try setting olcMirrorMode and olcSyncRepl in the same modify operation.
Regards, Feri.
Hello Ulrich Windl,
No I never tried ! How this param do ? Where can I add it ?
THanks. cyrill gremaud
On 08 Sep 2014, at 11:30, Ulrich Windl Ulrich.Windl@rz.uni-regensburg.de wrote:
Gremaud Cyrill cyrill.gremaud@hefr.ch schrieb am 08.09.2014 um 10:13 in
Nachricht 14EA9481-CCCB-4EE8-A6F2-FE2CA31C095A@hefr.ch:
Hello,
I'm trying to setup N-way multimaster replication for cn=config only (for the moment). I have problem when I try to add olcMirrorMode: TRUE. Here is my ldif file to do this:
dn: olcDatabase={0}config,cn=config changetype: modify add: olcMirrorMode olcMirrorMode: TRUE
and the error is the following :
root@ldap1:~/downloads/ldif/config# ldapmodify -Y EXTERNAL -H ldapi:// -f 7_addMirrorMode.ldif SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 modifying entry "olcDatabase={0}config,cn=config" ldap_modify: Server is unwilling to perform (53) additional info: shadow context; no update referral
Did you "add: olcUpdateRef"?
I have tried a lot of things but nothing working. Please I really need your help.
Thanks a lot.
Cyrill Gremaud
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.
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-replicatio...
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.
openldap-technical@openldap.org