Bug 3806 - tl-limit-printers does not work with non-ascii usernames
Summary: tl-limit-printers does not work with non-ascii usernames
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Printing (show other bugs)
Version: 3.1.2
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Pierre Ossman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 15:13 CEST by Peter Åstrand
Modified: 2013-08-26 08:49 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2011-04-19 15:13:48 CEST
I have a session for user "åstrand2". When running tl-limit-printers I get:

User åstrand2 has no ThinLinc session. Not limiting list of printers.

I don't know if this is a regression or not. Checked the XMLRPC communication with Wireshark and the name is correctly coded as UTF-8. But when dumping the sessions struct from Python, I get:

{u'\xe5strand2': [{'client_ip': '10.47.1.210', ...

ie the username is coded as latin1.
Comment 1 Peter Åstrand cendio 2011-04-19 15:46:51 CEST
Verified with TL 3.1.2. 

Note You need to log in before you can comment on or make changes to this bug.