Hello,
I am setting up multi-master replication between two openldap servers and when I try to add syncprov overlay to my second server I get this error:
# ldapmodify -Y EXTERNAL -H ldapi:/// -f 5_addSyncProv.ldif SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 adding new entry "olcOverlay=syncprov,olcDatabase={0}config,cn=config" ldap_add: Invalid syntax (21) additional info: objectClass: value #1 invalid per syntax
Per the documentation (http://www.openldap.org/doc/admin24/replication.html#N-Way Multi-Master) you are supposed to add syncprov to the configuration.
Here are the contents of the ldif file: dn: olcOverlay=syncprov,olcDatabase={0}config,cn=config changetype: add objectClass: olcOverlayConfig objectClass: olcSyncProvConfig olcOverlay: syncprov
Both servers are running RHEL7 and openldap 2.4.40.
Please advise!
Thank you, Liz Elizabeth.real@jpl.nasa.gov
Am Wed, 4 May 2016 23:02:28 +0000 schrieb "Real, Elizabeth (392K)" Elizabeth.Real@jpl.nasa.gov:
Hello,
I am setting up multi-master replication between two openldap servers and when I try to add syncprov overlay to my second server I get this error:
# ldapmodify -Y EXTERNAL -H ldapi:/// -f 5_addSyncProv.ldif SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 adding new entry "olcOverlay=syncprov,olcDatabase={0}config,cn=config" ldap_add: Invalid syntax (21) additional info: objectClass: value #1 invalid per syntax
Per the documentation (http://www.openldap.org/doc/admin24/replication.html#N-Way Multi-Master) you are supposed to add syncprov to the configuration.
Here are the contents of the ldif file: dn: olcOverlay=syncprov,olcDatabase={0}config,cn=config changetype: add objectClass: olcOverlayConfig objectClass: olcSyncProvConfig olcOverlay: syncprov
Both servers are running RHEL7 and openldap 2.4.40.
Please advise!
Both objectclasses are structural and olcSyncProvConfig derived from olcOverlayConfig. Adding olcSyncProvConfig should be sufficient.
-Dieter
Am Wed, 4 May 2016 23:02:28 +0000 schrieb "Real, Elizabeth (392K)" Elizabeth.Real@jpl.nasa.gov:
Hello,
I am setting up multi-master replication between two openldap servers and when I try to add syncprov overlay to my second server I get this error:
# ldapmodify -Y EXTERNAL -H ldapi:/// -f 5_addSyncProv.ldif SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 adding new entry "olcOverlay=syncprov,olcDatabase={0}config,cn=config" ldap_add: Invalid syntax (21) additional info: objectClass: value #1 invalid per syntax
Per the documentation (http://www.openldap.org/doc/admin24/replication.html#N-Way Multi-Master) you are supposed to add syncprov to the configuration.
Here are the contents of the ldif file: dn: olcOverlay=syncprov,olcDatabase={0}config,cn=config changetype: add objectClass: olcOverlayConfig objectClass: olcSyncProvConfig olcOverlay: syncprov
Both servers are running RHEL7 and openldap 2.4.40.
Please advise!
I forgot to mention to read man ldapmodify(1) which provides a few examples.
-Dieter
openldap-technical@openldap.org