Fix some improper string types in the LDAP backend.

Review Request #10474 — Created March 28, 2019 and submitted

chipx86
Review Board
release-4.0.x
reviewboard

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.

Summary
Fix some improper string types in the LDAP backend.
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (43ea8a9)
Loading...