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

slaptest conversion of acl regex's drops backslashes



Hi,

I used slaptest to convert a set of ACLs from standard to dynamic format using slaptest. I noticed that backslashes (used to escape characters) in regexes are silently dropped after conversion.

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:
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/member.exact="cn=admins,ou=groups,dc=noa,dc=gr" write

Is this expected behavior? Or am I doing something wrong?

Please advise.

Thanks,
Nick