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

(ITS#5804) attribute value regex expantion



Full_Name: Emmanuel Dreyfus
Version: HEAD
OS: NetBSD
URL: ftp://ftp.openldap.org/incoming/manu-20081111.patch
Submission from: (NULL) (213.41.141.172)


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