wrong password-encoding in python-modules?
Ingo Steuwer
steuwer at univention.de
Fri Jul 22 12:08:45 GMT 2005
Hi
I've tried to use the spoolss Python-module to connect to a NT4-Printershare.
The password contains german umlauts, which made it impossible to connect.
To avoid Codepage-problems, I changed the password to one Character (ä) and
iterated from i=0 to 255 doing a python "chr(i)" as password, but none
matched.
As the routines expect a string (and not a unicode) I expected that one should
match. Is this my misunderstanding, or a bug in spoolss-bug/the underlying
lib?
Thanks in advance
Ingo Steuwer
--
Ingo Steuwer steuwer at univention.de fon: +49 421 22 232- 0
Entwicklung Linux for Your Business
Univention GmbH http://www.univention.de/ fax: +49 421 22 232-99
More information about the samba-technical
mailing list