#291 cannot use & in a sasl map search filter
Closed: wontfix None Opened 9 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

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/291

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

8 months ago

Login to comment on this ticket.