ldb attribute handlers: fix casefold bugs
Casefold ldap syntaxes are supposed to collapse multiple spaces for comparisons. We haven't been doing that too well.
Checklist
-
Commits have Signed-off-by:
with name/author being identical to the commit author -
(optional, if backport required) Bugzilla bug filed and BUG:
tag added -
Test suite updated with functionality tests -
Test suite updated with negative tests -
Documentation updated
Reviewer's checklist:
-
There is a test suite reasonably covering new functionality or modifications -
Function naming, parameters, return values, types, etc., are consistent and according to README.Coding.md
-
This feature/change has adequate documentation added -
No obvious mistakes in the code