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

Re: slaptest conversion of acl regex'es drops backslashes (correct resubmission)



On 5/6/2012 5:51 ÎÎ, Nick Milas wrote:

becomes:
olcAccess: {xx}to dn.regex="^dc=\b\d{1,3}\.\d{1,3}\.\d{1,3}\b\.in-addr\.arpa,ou=dns,dc=example,dc=com$" by group/groupOfNames

Sorry, I copied the wrong string. I re-send:

For example:
access to dn.regex="^dc=\b\d{1,3}\.\d{1,3}\.\d{1,3}\b\.in-addr\.arpa,ou=dns,dc=example,dc=com$"
    by group.exact="cn=Admins,ou=Groups,dc=example,dc=com" write
becomes:
to dn.regex="^dc=bd{1,3}b,dc=bd{1,3}.d{1,3}.d{1,3}b.in-addr.arpa,ou=dns,dc=example,dc=com$" by group/groupOfNames/member.exact="cn=admins,ou=groups,dc=noa,dc=gr" write

Is dropping backslashes from regex'es expected behavior by slaptest?

Thanks,
Nick