Hi.
I'm preparing to upgrade LDAP from 1.2.5 to 1.2.11.25 (both on CentOS) and i have a weird problem. Firstly for tests i want to set replication from my current master (1.2.5, single master) to new instance on 1.2.11.25 (dedicated consumer). So i made replication agreement and everything works fine, unless i want to delete something from master. On replica in error log appears:
entryrdn-index - _entryrdn_delete_key: Failed to remove ou=users; has children - database index operation failed BAD 1031, err=-1 Unknown error: -1
After a little investigation i know:
1. It's a problem when i'm trying to delete entry (dn: uid=test,dc=foo,dc=pl,o=company) which contains subentry with objectClass posixAccount (i don't know it even matter), ex: dn: uid=test,dc=foo,dc=pl,o=company dn: ou=users,uid=test,dc=foo,dc=pl,o=company dn: uid=test__cms2,ou=users,uid=test,dc=foo,dc=pl,o=company 2. On master entry is successfully deleted, but not on replica (as error log says it has children) 3. On replica there are left some entry which i cannot delete (with error code 10 - Referral) dn: uid=test,dc=foo,dc=pl,o=company dn: ou=users,uid=test,dc=foo,dc=pl,o=company
or:
3: On replica there is only entry dn: uid=test,dc=foo,dc=pl,o=company, but when i search entries wiht parentId set as entryId of uid=test i found ou=users below that entry (which i can't see by ldapsearch or ApacheDS).
So, my question am i doing something wrong or it's not possible to set replication between this 389-ds versions (maybe it's to old/new). It's really possible to upgrade LDAP accross this versions without any magic or/and possibility of losing data? What i should check or change to make this works? What other information should i provide? Any idea?
389-users@lists.fedoraproject.org