Labels: Type-Defect Priority-Medium
New issue 3774 by hanko.ge...@gmail.com: Active Directory login fails if
group contains non-ascii characters
What version are you running?
What's the URL of the page containing the problem?
confidential, not relevant
What steps will reproduce the problem?
1. user is in an AD group that contains non-ascii characters (e.g. é)
2. try to log in using Active Directory user name and password
What is the expected output? What do you see instead?
-log-in issue with the usual error message on client side
-the following error is shown in log:
ERROR - - Active Directory error: failed gettinggroups for
user 'tgemes': 'ascii' codec can't decode byte 0xc3 in position 15: ordinal
not in range(128)
Traceback (most recent call last):
line 685, in authenticate
group_names = self.get_member_of(con, user_data)
line 571, in get_member_of
new_groups = [x.split(',').split('=') for x in member_of]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 15:
ordinal not in range(128)
What operating system are you using? What browser?
Server is running on
Linux <confidential_hostname> 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8
19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jul 22 2014 14:36:38
The issue is browser-independent.
Please provide any additional information below.
Tried to set LANG environment variable to en_US.UTF-8 in
/etc/apache2/envvars but it didn't help.
When the exception is caught for the problematic group the log-in is
successful, but if the required group contains non-ascii characters this
solution is not enough.
Please check this.
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.