hasSubordinates is a dynamically generated attribute. You should exclude it 
from your replication config.
See the slapd-config manpage.


frederic.gou...@bordeaux-inp.fr wrote:
> Hello,
> 
> I'm upgrading an old ldap set of servers to a new one, going from 2.4.x to 
> 2.6.0
> What I'm currently doing is the following :
> old.2.4 <-  multi-master syncrepl -> newMaster   -> push-setup + delta-sync 
> ->  newSlave
> 
> What I call push-setup is a hidden sufix on newMaster with newSlsave as ldap 
> backend.
> 
> The synchronisations occurs, but stop for now on the following error :
> 
> Nov 23 14:47:47 ldap2021 slapd[57592]: conn=1000 op=662328 SRCH 
> base="dc=ipb,dc=fr" scope=2 deref=0 
> filter="(entryUUID=d62c8932-e9aa-1034-9374-673a87a89e29)"
> Nov 23 14:47:47 ldap2021 slapd[57592]: conn=1000 op=662328 SRCH attr=* +
> Nov 23 14:47:47 ldap2021 slapd[57592]: conn=1000 op=662328 SEARCH RESULT 
> tag=101 err=0 qtime=0.000046 etime=0.000808 nentries=1 text=
> Nov 23 14:47:47 ldap2021 slapd[57592]: conn=1000 op=662329 MOD 
> dn="uid=xxxx,ou=people,dc=ipb,dc=fr"
> Nov 23 14:47:47 ldap2021 slapd[57592]: conn=1000 op=662329 MOD attr=entryCSN 
> modifiersName modifyTimestamp hasSubordinates
> Nov 23 14:47:47 ldap2021 slapd[57592]: slap_queue_csn: queueing 
> 0x7efedc155f70 20211123133002.586780Z#000000#00a#000000
> Nov 23 14:47:47 ldap2021 slapd[57592]: conn=1000 op=662329 RESULT tag=103 
> err=16 qtime=0.000029 etime=0.000405 text=modify/delete: hasSubordinates: no 
> such attribute
> Nov 23 14:47:47 ldap2021 slapd[57592]: slap_graduate_commit_csn: removing 
> 0x7efedc155f70 20211123133002.586780Z#000000#00a#000000
> 
> 
> 
> I have donne slapcat on the old server, and on the the newMaster and there is 
> no attribute hasSubordinates.
> 
> I have dumped the schema ( ldapsearch -x -LLL -b cn=Subschema -s base 
> '(objectClass=subschema)' +) and the attribute hasSubordinatess is defined 
> both on newMaster and newSlave.
> 
> I don't know what to do to fix this problem...
> 
> Thanks in advance.
> 
> 
> 
> -- Frédéric Goudal
> Administrateur Systèmes et Réseaux
> Bordeaux-INP
> 


-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/

Reply via email to