...
- The initial RDN is simple, the target RDN is simple, we don't delete the oldRDN : We just have to remove the newly added AVA if it's not present into the original entry
- The initial RDN is simple, the target RDN is simple, we delete the oldRDN : We have to add the old AVA and to remove the newly added AVA if it's not present into the original entry
- The initial RDN is composite, the target is simple, they don't overlap, we don't delete the oldRDN : We just have to remove the newly added AVA if it's not present into the original entry
- The initial RDN is composite, the target is simple, they don't overlap, we delete the oldRDN : We have to add the original AVAs, and to remove the newly added AVAs if it's not present into the original entry
- The initial RDN is composite, the target is simple, they overlap, we don't delete the oldRDN : Nothing special to do
- The initial RDN is composite, the target is simple, they overlap, we delete the oldRDN : We have to add the removed AVAs except the one which is in the new RDN
- The initial RDN is simple, the target RDN is composite, they don't overlap, we don't delete the oldRDN : We have to remove all the new AVAs
- The initial RDN is simple, the target RDN is composite, they don't overlap, we delete the oldRDN : We have to remove all the new AVAs and to add the old AVA
- The initial RDN is simple, the target RDN is composite, they overlap, we don't delete the oldRDN : We have to remove all the new AVAs except the one whgich is in the old RDN
- The initial RDN is simple, the target RDN is composite, they overlap, we delete the oldRDN : We have to remove all the new AVAs except the one which is in the old RDN
- The initial RDN is composite, the target RDN is composite, they don't overlap, we don't delete the oldRDN : We have to remove all the new AVAs which are not present in the original entry
- The initial RDN is composite, the target RDN is composite, they don't overlap, we delete the oldRDN : We have to remove all the new AVAs which are not present in the original entry and add all the removed AVAs from the original entry
- The initial RDN is composite, the target RDN is composite, they overlap, we don't delete the oldRDN : We have to remove all the new AVAs which are not present in the original entry.
- The initial RDN is composite, the target RDN is composite, they overlap, we delete the oldRDN : We have to remove all the new AVAs which are not present in the original entry and add all the removed AVAs from the original entry
Case 11 and 13 are equivalent, so are case 12 and 14. They need two operations to be applied.
...
case | orginal entry | target RDN | deleteoldrdn | forward ldif | resulting entry | reverse ldif | ||||||||||||
1.1 | dn: cn=test,ou=system | cn=joe | no | dn: cn=test, ou=system | dn: cn=joe, ou=system | dn: cn=joe, ou=system | ||||||||||||
1.2 | dn: cn=test,ou=system | cn=small | no | dn: cn=test, ou=system | dn: cn=small, ou=system | dn: cn=small, ou=system | ||||||||||||
2.1 | dn: cn=test,ou=system | cn=joe | yes | dn: cn=test, ou=system | dn: cn=joe, ou=system | dn: cn=joe, ou=system | ||||||||||||
2.2 | dn: cn=test,ou=system | cn=small | yes | dn: cn=test, ou=system | dn: cn=small, ou=system | dn: cn=joe, ou=system | ||||||||||||
3.1 | dn: cn=small+cn=test,ou=system | cn=joe | N/A no | dn: cn=small+cn=test, ou=system | dn: cn=joe, ou=system | dn: cn=joe, ou=system | 3.2 | dn: cn=small+cn=test,ou=system | cn=big | no | dn: cn=small+cn=testjoe, ou=system | |||||||
4 | dn: cn=bigsmall+cn=test,ou=system | cn=big | N/A | dn: cn=small+cn=bigtest, ou=system | dn: cn=small+cn=testbig, ou=system | cn=joe | yes | dn: cn=small+cn=test, ou=system | dn: cn=joe, ou=system | dn: cn=joe, ou=system | <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7a9d4339-5f42-4a1f-a41c-67cc4e311340"><ac:plain-text-body><![CDATA[ [cn: test] | 4.2 | dn: cn=small+cn=test,ou=system | cn=big | yes | dn: cn=small+cn=test, ou=system | dn: cn=big, ou=system | dn: cn=big, ou=system |
5 | cn=small+cn=test | cn=test | no | dn: cn=small+cn=test, ou=system | dn: cn=test, ou=system | dn: cn=test, ou=system | ||||||||||||
6 | cn=small+cn=test | cn=test | yes | dn: cn=small+cn=test, ou=system | dn: cn=test, ou=system | dn: cn=test, ou=system | ||||||||||||
7.1 | cn=test | cn=joe+cn=plumber | no | dn: cn=test, ou=system | dn: cn=joe+cn=plumber, ou=system | dn: cn=joe+cn=plumber, ou=system | ||||||||||||
7.2 | cn=test | cn=joe+cn=small | no | dn: cn=test, ou=system | dn: cn=joe+cn=small, ou=system | dn: cn=joe+cn=small, ou=system | ||||||||||||
8.1 | cn=test | cn=joe+cn=plumber | yes | dn: cn=test, ou=system | dn: cn=joe+cn=plumber, ou=system | dn: cn=joe+cn=plumber, ou=system | ||||||||||||
8.2 | cn=test | cn=joe+cn=small | yes | dn: cn=test, ou=system | dn: cn=joe+cn=small, ou=system | dn: cn=joe+cn=small, ou=system | ||||||||||||
9.1 | cn=test | cn=small+cn=test | no | dn: cn=test, ou=system | dn: cn=small+cn=test, ou=system | dn: cn=small+cn=test, ou=system | ||||||||||||
9.2 | cn=test | cn=big+cn=test+ | no | dn: cn=test, ou=system | dn: cn=big+cn=test+cn=small, | dn: cn=big+cn=test+cn=small, | ||||||||||||
10.1 | cn=test | cn=small+cn=test | yes | dn: cn=test, ou=system | dn: cn=small+cn=test, ou=system | dn: cn=small+cn=test,ou=system | ||||||||||||
10.2 | cn=test | cn=big+cn=test+ | yes | dn: cn=test, ou=system | dn: cn=big+cn=test+cn=small, | dn: cn=big+cn=test+cn=small, | ||||||||||||
11.1 | cn=small+cn=test | cn=joe+cn=plumber | no | dn: cn=small+cn=test, ou=system | dn: cn=joe+cn=plumber, ou=system | dn: cn=joe+cn=plumber, ou=system | ||||||||||||
11.2 | cn=small+cn=test | cn=joe+cn=big | no | dn: cn=small+cn=test, ou=system | dn: cn=joe+cn=big, ou=system | dn: cn=joe+cn=big, ou=system | ||||||||||||
12.1 | cn=small+cn=test | cn=joe+cn=plumber | yes | dn: cn=small+cn=test, ou=system | dn: cn=joe+cn=plumber, ou=system | dn: cn=joe+cn=plumber, ou=system | ||||||||||||
12.2 | cn=small+cn=test | cn=joe+cn=big | yes | dn: cn=small+cn=test, ou=system | dn: cn=joe+cn=big, ou=system | dn: cn=joe+cn=big, ou=system | ||||||||||||
13.1 | cn=small+cn=test | cn=joe+cn=test | no | dn: cn=small+cn=test, ou=system | dn: cn=joe+cn=test, ou=system | dn: cn=joe+cn=test, ou=system | ||||||||||||
13.2 | cn=small+cn=test | cn=big+cn=test | no | dn: cn=small+cn=test, ou=system | dn: cn=big+cn=test, ou=system | dn: cn=big+cn=test, ou=system | ||||||||||||
14.1 | cn=small+cn=test | cn=joe+cn=test | yes | dn: cn=small+cn=test, ou=system | dn: cn=joe+cn=test, ou=system | dn: cn=joe+cn=test, ou=system | ||||||||||||
14.2 | cn=small+cn=test | cn=big+cn=test | yes | dn: cn=small+cn=test, ou=system | dn: cn=big+cn=test, ou=system | dn: cn=big+cn=test, ou=system |
...