Your message dated Fri, 11 May 2007 17:34:08 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Reported bug is not a bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: python-smbpasswd
Severity: normal

I tried to create password with the norewgian/nordic characters æøå
in, and it failed. I no longer have the package installed so i have no
example. there was some trouble with converting from to utf or something
like that.
If you need a better report, please ask me, and I will try to reproduce. 

// faj 


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.13-x300
Locale: LANG=nb_NO, LC_CTYPE=nb_NO (charmap=ISO-8859-1)

Versions of packages python-smbpasswd depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  python                      2.3.5-2      An interactive high-level object-o


--- End Message ---
--- Begin Message ---
This is not really a bug in smbpasswd, but an encoding-problem.
Example:
>>> import smbpasswd
>>> smbpasswd.nthash('ærlig østen åse')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal 
not in range(128)
>>> smbpasswd.nthash(u'ærlig østen åse')
'D3A3E9DCF4E6C87491FCC260276C09C9'

>>> s = 'ærlig østen åse'
>>> smbpasswd.nthash(s.decode('latin-1'))
'EA450AC87DAF980DA2F96476E77D428E'

Scripts has to be aware of their own locale, and act accordingly.

-- 
Regards
 
Bjørn Ove Grøtan

--- End Message ---

Reply via email to