Re: ACLs - match FDN to portion of attribute

[email protected] Tue, 20 Apr 2010 00:04:36 +0200 (CEST)
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
> Hi Andrew
> I finally figured it out and here is what I did:
>
> ACL
> -----
> access to attrs=uofsGroupRole val.regex="^([^:]+):.+$"
>    by dn.exact,expand="${v1}" read
>    by * none
>
> Only attribute that contains users' dn within its value is available to
> said user. It works exactly the way I want it. Only difference from
> documentation is "${v1}" which explained here:
> http://www.openldap.org/lists/openldap-bugs/200811/msg00078.html if you
> are interested...

I've documented this feature in slapd.access(5), as part of ITS#5804.

Thanks, p.