Bug 2915 - utf8 paswords required instead of unicode
utf8 paswords required instead of unicode
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: python
3.0.9
All Linux
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-24 16:31 UTC by Tim Potter
Modified: 2005-08-02 12:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Potter 2005-07-24 16:31:57 UTC
Strings used as passwords need to be converted to utf8 instead of the default
encoding of unicode if they contain non-ascii characters.  This conversion
should be done inside the wrapper functions.

See the discussion at:

http://lists.samba.org/archive/samba-technical/2005-July/042000.html
Comment 1 Tim Potter 2005-08-02 12:19:16 UTC
A proper fix for this is going to be a bit more complicated.  All the strings
coming from wrapped functions need to be converted to unicode objects.  They're
currently just returned as regular strings with utf8 encoding.