Fix some improper string types in the LDAP backend.
Review Request #10474 — Created March 28, 2019 and submitted
The LDAP backend was passing byte strings in some places where Unicode
strings were needed, and assuming Unicode strings where byte strings
might be. This wasn't a problem on Python 2, but was on Python 3.
This updates the known places in the LDAP code where this was impacting
unit tests, passing and forcing the right string types in these cases.
Unit tests pass on Python 2/3.
Added the missing unit test update.
Revision 2 (+12 -12)
Checks run (2 succeeded)