Comment 7 for bug 449735

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

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:

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

[thisisareallyreallyreallylongshare]
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.

Regards
chuck