[Bug 449735] Re: [SRU] [karmic] Long SMB share names invisible and corrupts encodings

Chuck Short chuck.short at canonical.com
Wed Oct 28 13:32:39 GMT 2009

Statement of Impact:

Karmic shipped with a bug in samba that if the share name is  more than
12 characters long then smbclient wont display it.

How this bug has been addressed:

This bug has been fixed by the upstream samba developers in
https://bugzilla.samba.org/show_bug.cgi?id=6829. This patch has been
accepted in Samba 3.4.3

I have backported the patch to Samba 3.4.0. I have attached the patch to
this bug.

How to reproduce:

1. Install samba
2. Create two shares like the following in the /etc/samba/smb.conf:

comment = test1
read only = yes
path = /tmp
guest ok = yes

comment = thisisareallylongshare
read only = yes
path = /tmp
guest ok = ye

3. Restart samba
4. Run the following command: smbclient -L localhost
5. The first share "test1" should be displayed in the output however the second one will not be.

There should not be a regression from this patch. If you have any
questions please let me know.


** Bug watch added: Samba Bugzilla #6829

[SRU] [karmic] Long SMB share names invisible and corrupts encodings
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

More information about the Ubuntu-server-bugs mailing list