#291 cannot use & in a sasl map search filter
Closed: Fixed None Opened 8 years ago by rmeggins.

I have a need to use a search filter in SASL mappings where it looks like something


the & is being substituted like \1 as seen with tracing turned on. I have tried escaping it as \& and \&. I can't find any documentation on how the substitution is handled with the filter. Is it not possible to utilize a normal ldap search filter like this in SASL mappings?

Thanks for the review Rich!

[mareynol@localhost ds]$ git merge ticket291
Updating 6bf6e79..6fd5d70
ldap/servers/slapd/regex.c | 28 +++++++++++++++++++++-------
ldap/servers/slapd/sasl_map.c | 4 ++--
ldap/servers/slapd/slapi-plugin.h | 2 ++
3 files changed, 25 insertions(+), 9 deletions(-)

[mareynol@localhost ds]$ git push origin master
Counting objects: 15, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 1.28 KiB, done.
Total 8 (delta 6), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
6bf6e79..6fd5d70 master -> master

Added initial screened field value.

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: 1.2.11.a1

3 years ago

Login to comment on this ticket.