Fractional Replication in OpenLDAP
Sometimes you only want part of the full directory available on a consumer. Fractional Replication makes thet possible.
- Design a query that isolates the subset of entries you want in the fraction[^1],
- Use the same basic configuration as a full replica,
- Use you fractioning query for the
searchfor replication, and
- Chain ALLupdates to a/the Producer . [^1]: The simplest fraction is a sub tree of the DIT.
Security and Regulatory requirements drive geographic and logical directory data topology. When no such pressures are present we replicate everything to all servers. That maximizes redundancy for availability and minimizes the number of servers needed.
OpenLDAP supports Fractional Replication (FR) so you can stand up a directory server in a hostile environment. Only the data needed for that application space is stored there. That minimizes the attack surface and the amount that would be exposed if the directory’s security defenses are breached.
FR also let’s you set up smaller “local” directory servers. This would let a small local server authenticate users accessing local machines, smart door locks, etc.
search filters are possible. [TODO: