Bug 38182

Summary: Browsing windows network via samba is broken since 2.6.38
Product: File System Reporter: André Fettouhi (A.Fettouhi)
Component: Samba/SMBAssignee: fs_samba-smb
Status: NEW ---    
Severity: normal CC: akpm, alan, sfrench, szg00000
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.2 Subsystem:
Regression: Yes Bisected commit-id:

Description André Fettouhi 2011-06-24 09:39:53 UTC
I'm running Arch Linux (64 bit) with KDE 4.6.3 and since the introduction of the 2.6.38 series it is not possible for me to see my windows network. Neither using Dolphin, Konqueror or smb4k. I keep getting the error "no workgroups found in your local network". I turned off my firewall but I still can't see my network. Everything worked fine on 2.6.37 and earlier. The problem is still present in 2.6.39...
Comment 1 Andrew Morton 2011-06-28 22:57:39 UTC
Are you using smbfs or cifs?
Comment 2 Steve French 2011-06-29 03:39:16 UTC
The workgroup browsing function in kde is handled through user space libraries not through the cifs (or smbfs) kernel file system drivers, so is more likely to be related to changes in the networking stack rather than the network file system driver.

You can do the rough equivalent at the command line (ie listing domains or workgroups) through the samba utility "nmblookup" which is probably easier to debug than the kde libraries.

If you find that the behavior of "nmblookup" has changed between kernel versions of 2.6.37 to 2.6.39, it should be easier to narrow down.
Comment 3 André Fettouhi 2011-06-29 07:31:18 UTC
Well nmblookup works under 2.6.39. If I do

nmblookup mywindowsdomain
querying mywindowsdomain on 192.168.1.255
192.168.1.6 mywindowsdomain<00>
Comment 4 André Fettouhi 2011-06-29 07:35:21 UTC
Well nmblookup works under 2.6.39. If I do

nmblookup mywindowsdomain
querying mywindowsdomain on 192.168.1.255
192.168.1.6 mywindowsdomain<00>
Comment 5 André Fettouhi 2011-08-28 13:52:26 UTC
This works now with samba 3.6.0.

https://bugs.archlinux.org/task/23843#comment82390
Comment 6 André Fettouhi 2012-02-16 21:33:20 UTC
This still doesn't work under the 3.2 kernel. I was a bit premature in comment #5.