OpenLDAP Faq-O-Matic : OpenLDAP Software FAQ : Configuration : SLAPD Configuration : Access Control : How do I allow a user write to all entries below theirs? | |
For a setup where a user can write to its own record
and to all of its children:
from 2.2 on: access to dn.regex="(.+,)?(uid=[^,]+,o=Company)$" by dn.exact,expand="$2" write by anonymous auth (almost) all versions: access to dn.regex="(.+,)?(uid=[^,]+,o=Company)$" by dn.regex="$2" write by anonymous auth[The 2.2 version saves one (unnecessary) regcomp(3)/regexec(3)/regfree(3)]. | |
[Append to This Answer] |
Previous: | How do I grant access to a subset of attributes? |
Next: | How do I allow entry creation? |
|