[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5804) attribute value regex expantion

manu@netbsd.org wrote:
> Full_Name: Emmanuel Dreyfus
> Version: HEAD
> OS: NetBSD
> URL: ftp://ftp.openldap.org/incoming/manu-20081111.patch
> Submission from: (NULL) (
> The attached patch allow substitution from attribut value regex. For instance:
> access to attrs=foo val.regex="^(.*)$"
>          by dn.exact,expand="uid=${v1},o=home" write
>          by * read stop
> ${v1} ${v2} ${v3} ... get the substitutions from attribute value regex
> ${d1} ${d2} ${d3} ... are aliases for $1 $2 $3 ... and get substitution from DN
> regex

The slapd.access(5) manpage needs to be updated with this info. Please provide 
a patch.

This has almost inspired me to add substitution to ACL sets...
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/