Comment #1 on issue 3528 by [email protected]: UnicodeDecodeError while
LDAP-authenticating
https://code.google.com/p/reviewboard/issues/detail?id=3528
After suffering a similar problem, I found out that this bug is due to the
split function in line 467 in reviewboard/accounts/backends.py (as of
2.0.11)
It turns out split() doesnt work on raw strings when unicode_literals is
used.
The attached patch would solve your problem in a quick-and-dirty fashion, I
also discovered that using "Given name" and "Surname" attributes instead of
the "Full name" one not only does the same thing, but does not trigger the
bug. I would recommend doing that if you have those attributes in your LDAP
Attachments:
full_name_unicode_quickfix.patch 709 bytes
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.