Here at Ya.com we have a structure of directory service based on OpenLDAP
2.0.27. There's ldapm01, the master server, and three replicas. We want
to add a new replica (smtpmaq) running OpenLDAP 2.3.27 with bdb backend,
populated thru slapcat / slapadd. Our purpose is to migrate all servers
to the new version.
All this worked fine, but now we get the following error in the new
Nov 8 13:09:16 smtpmaq slapd: conn=0 op=3093 ADD
Nov 8 13:09:16 smtpmaq slapd: conn=0 op=3093 RESULT tag=105
err=20 text=attribute 'objectClass' provided more than once
When we add a new entry, we do the following at the master server:
-The server, running the old version, works fine with this. The old
replicas also work fine with this.
-The new replica refuse this kind of changes, but accept any other kind
-If I try something like:
without "objectClass: top", the master server and all the replicas accept
What do you think about instantiating only mailClass in the new entries ?
Are we doing something wrong ?