Broken encoding when listing services and their descriptions

Bug #459093 reported by Michael Lazarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba
Fix Released
Unknown
samba (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: samba

Some of shares of our Windows server are called in Russian.
In Ubuntu 9.04 their names and descriptions were shown perfectly right.
In Ububntu 9.10 the encoding become broken.

Here is an example:
-------------------------------------------------------------------------------------
ubuntu@ubuntu:~$ smbclient -L 192.168.0.3 -U milaz
Enter milaz's password:
Domain=[FSERVER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

 Sharename Type Comment
 --------- ---- -------
 local_upd Disk
 E$ Disk æÔá¡ñáÓÔ¡Ù® «íÚ¿® ÓÑßÒÓß
 IPC$ IPC ôñá½Ñ¡¡Ù® IPC
 D$ Disk æÔá¡ñáÓÔ¡Ù® «íÚ¿® ÓÑßÒÓß
 print$ Disk äÓá®óÑÓÙ »Ó¿¡ÔÑÓ«ó
 Common Disk
 O Disk
 Projects Disk
 HPLaserJ Printer HP LaserJet 1022
 Äí¼Ñ¡¡¿¬ Disk
 1CBase Disk
 ADMIN$ Disk ôñá½Ñ¡¡Ù® Admin
 C$ Disk æÔá¡ñáÓÔ¡Ù® «íÚ¿® ÓÑßÒÓß
session request to 192.168.0.3 failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[FSERVER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

 Server Comment
 --------- -------

 Workgroup Master
 --------- -------
-------------------------------------------------------------------------------------

I assure you, there are none of such letters like "æÔá¡ñáÓÔ¡Ù® «íÚ¿® ÓÑßÒÓß" in Russian!

In Ububntu 9.04 the same listing looked like this:
-------------------------------------------------------------------------------------
profit@ws:~$ smbclient -L 192.168.0.3 -U milaz
Enter milaz's password:
Domain=[FSERVER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

 Sharename Type Comment
 --------- ---- -------
 local_upd Disk
 E$ Disk Стандартный общий ресурс
 IPC$ IPC Удаленный IPC
 D$ Disk Стандартный общий ресурс
 print$ Disk Драйверы принтеров
 Common Disk
 O Disk
 Projects Disk
 HPLaserJ Printer HP LaserJet 1022
 Обменник Disk
 1CBase Disk
 ADMIN$ Disk Удаленный Admin
 C$ Disk Стандартный общий ресурс
session request to 192.168.0.3 failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[FSERVER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

 Server Comment
 --------- -------

 Workgroup Master
 --------- -------
-------------------------------------------------------------------------------------

The same happens when I see this list in Nautilus. And, of course, double-click on "Äí¼Ñ¡¡¿¬" share in the Network folder gives me error message "Failed to mount Windows share".

ProblemType: Bug
Architecture: i386
Date: Fri Oct 23 17:34:08 2009
DistroRelease: Ubuntu 9.10
LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Beta i386 (20090929.2)
Package: smbclient 2:3.4.0-3ubuntu5
ProcEnviron:
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: samba
Uname: Linux 2.6.31-11-generic i686
XsessionErrors:
 (gnome-settings-daemon:4680): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:4680): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:4720): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:4712): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (gnome-panel:4709): Gdk-WARNING **: /build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window

Revision history for this message
Michael Lazarev (milaz) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

Thanks for the bug report, can you attach your /etc/samba/smb.conf and /var/log/samba/log.smbd?

Thanks
chuck

Changed in samba (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Michael Lazarev (milaz) wrote : Re: [Bug 459093] Re: Broken encoding when listing services and their descriptions
  • smb.conf Edit (12.1 KiB, application/octet-stream; name="smb.conf")

Thanks for attention to this bug.

/var/log/samba is empty, I'll try to get it again when I will be in
Windows network,
/etc/samba/smb.conf is attached.

Thierry Carrez (ttx)
Changed in samba (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Michael Lazarev (milaz) wrote :

It has status RESOLVED FIXED on https://bugzilla.samba.org/show_bug.cgi?id=6829
Will the fix find its way into the final release of 9.10?

Revision history for this message
Thierry Carrez (ttx) wrote :

It will certainly be fixed as a post-release update very soon, since it also triggers bug 449735.

Changed in samba:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.