Re: ACLs - match FDN to portion of attribute

Sergiy Stepanenko <[email protected]> Mon, 19 Apr 2010 16:33:30 -0600
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
On 04/19/2010 04:04 PM, [email protected] wrote:
>> 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.
>
>
My pleasure.

-- 
Sergiy Stepanenko
Systems Administrator
Information Technology Services
University of Saskatchewan
-----------------------------------
phone:    (306) 966-2762
email:[email protected]