Am Wed, 4 May 2016 23:02:28 +0000
schrieb "Real, Elizabeth (392K)" <elizabeth.r...@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

-- 
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E

Reply via email to