Splitting data within a subtree
You can split data within a subtree that is based on a hash of the RDNĀ® by using a proxy server.
In this setup, three servers have their data that is split within a "container" (under some entry in the directory tree). Because the proxy server handles the routing of requests to the appropriate servers, no referrals are used. Client applications need to be aware of proxy server only. The client applications never must authenticate with servers A, B, or C.

- The parent entries across multiple servers must remain synchronized. It is the administrator's responsibility to maintain the parent entries.
- ACLs must be defined at the partition base level on each server.
The hash value enables the proxy server to locate and retrieve entries
For example: Data under o=sample is split across three servers. This means that the proxy server is configured to hash RDN values immediately after o=sample among three servers, or "buckets". This also means that RDN values more than 1 away from o=sample will map to the same server as values immediately after o=sample. For example, cn=test,o=sample and cn=user1,cn=test,o=sample will always map to the same server. ServerA holds all the entries with a hash value of 1, server B holds all the entries with a hash value of 2, and ServerC holds all the entries with a hash value of three. The proxy server receives an add request for an entry with DN cn=Test,o=sample. The proxy server then uses the configuration information (specifically that there are three partitions with a base at o=sample) and the cn=Test RDN as inputs to the internal hashing function. If the function returns 1, the entry resides on ServerA and the add request is forwarded there.
- cn=example,o=sample hashes to a single server, for example ServerA. This is determined by hashing cn=example into one of three partitions.
- dc=example, o=sample hashes to a different server, for example ServerB. This is determined by hashing dc=example.
- cn=foo,cn=example,o=sample hashes to ServerA. This is because only cn=example is used for the hash algorithm. All entries beneath cn=example,o=sample resolve to the same server as cn=example,o=sample.