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