In an environment with secondary Domino directories, the following rules determine in which directory or directories the LDAP service puts an entry added through LDAP:
NOTE: To modify a secondary directory through LDAP operations, store the directory locally on the server that runs the LDAP service. For more information, see the release note "Confine LDAP writes to local directories."
| "Rules to follow when this directory is..." setting for the LDAP service primary Domino Directory | Where entry is added |
| Don't modify any | Entry not added; error message returned. |
| Modify first match | Secondary Domino Directory with the closest matching rule and the lowest sort order. |
| Modify all matches | All secondary Domino directories with the closest matching rule. |
| DomainB | DomainC | DomainD |
| 1 | 2 | 3 |
| */*/*/DomainB/Acme/* */*/*/DomainC/Acme/* | */*/*/DomainC/Acme/* */*/West/DomainC/Acme/* | */*/*/DomainD/Acme* |
| Entry to be added | "Rules to follow when this directory is..." setting | Domain directory in which entry is added | Reason |
| cn=Kate Powers,ou=DomainD,o=Acme | N/A | DomainD | DomainD is the only domain with a matching rule. |
| cn=Sue Wu,ou=West,ou=DomainC,o=Acme | N/A | DomainC | The DomainC rule */*/*/West/DomainC/Acme/* is a closer match than the DomainB rule */*/*/*/DomainC/Acme/* . |
| cn=John Ashby,ou=DomainC,o=Acme | Modify first match | DomainB | DomainB and DomainC both have rules that match, but since "Modify first match" is selected, the entry is added to the DomainB directory because it has the lower search order. |
| cn=John Ashby,ou=DomainC,o=Acme | Modify all matches | DomainB and DomainC | DomainB and DomainC both have rules that match, and since "Modify all matches" is selected, the entry is added to both domain directories. |
| cn=John Ashby,ou=DomainC,o=Acme | Don't modify any | None | DomainB and DomainC both have rules that match, but since "Don't modify any" is selected, the entry isn't added to either directory. |
| cn=Phyllis Spera,o=Acme | N/A | DomainA (primary directory) | No secondary directory has a rule that matches. |