Allow access controls based on bind DN for OpenLDAP
A patch for OpenLDAP 2.3. This enables additional access control to entries based on their relationships to the authenticated DN (bind DN) of the connection.
binddn_rels=
binddn_relationships where
binddn_relationships ::= relationship | relationship , binddn_relationships
relationship ::= peers | self | children
Diff here