NDS eDirectory 8.5 and above support filtered replicas. Previous versions of eDirectory do not support filtered replicas.
A single replication filter is set for an eDirectory server, and all replicas that reside on that specified server conform to that particular filter. The filter parameter (for the ldap_get_replication_filter and ldap_set_replication_filter functions) is a UTF string that comprises a sequence of object class names and attribute names delimited by the dollar ($) sign. The filter follows these rules:
Each class name and each attribute name is teminiated by a $ sign.
Each sequence of a class with its attribute names is terminated by a $ sign.
The filter is terminated with a $ sign.
The asterisk character (*) can be used in place of an attribute name to indicate all attributes from a particular class.
The following sample filter selects three attributes from the user class and one attribute from the groupOfUniqueNames class for the filter.
"user$cn$surname$mail$$groupOfUniqueNames$member$$$"
The following sample filter selects all attributes from the user class and one attribute from the groupOfUniqueNames class for the filter:
"user$*$$groupOfUniqueNames$member$$$"
A single $ sign in a filter is used for two special cases:
It resets the filter.
It represents the absence of a filter on the server.