Partha Sarathi
2016-Jan-30 01:28 UTC
[Samba] Fwd: Change notify/Directory enumeration issue with two MAC OS X El Capitan accessing same folder
Hi Folks, We are seeing an issues where two OS X El Capitan clients opened a folder and one of them creates a "New Folder" (untitled folder) and renames it, on the other MAC client explorer the "unititled folder" remains same and unable to access it. Note: The samba version is 4.1.19 and we have not used the vfs_fruit module. attached packet capture where the SMB2 Find responses are failing with STATUS_OBJECT_NOT_FOUND for the find requests with "apple double" search pattern. Please filter packets for ip.addr == 192.168.200.171 and at last find requests are having search pattern "._?" etc i.e "apple double" after few SMB2 notify responses. So will this issues fixes by vfs_fruit module or by latest SAMBA ? Regards, --Partha
Jeremy Allison
2016-Jan-30 07:49 UTC
[Samba] Fwd: Change notify/Directory enumeration issue with two MAC OS X El Capitan accessing same folder
On Fri, Jan 29, 2016 at 05:28:22PM -0800, Partha Sarathi wrote:> Hi Folks, > > We are seeing an issues where two OS X El Capitan clients opened a folder > and one of them creates a "New Folder" (untitled folder) and renames it, on > the other MAC client explorer the "unititled folder" remains same and > unable to access it. > > Note: The samba version is 4.1.19 and we have not used the vfs_fruit > module. > > attached packet capture where the SMB2 Find responses are failing with > STATUS_OBJECT_NOT_FOUND for the find requests with "apple double" search > pattern. > > Please filter packets for ip.addr == 192.168.200.171 and at last find > requests are having search pattern "._?" etc i.e "apple double" after few > SMB2 notify responses. > > So will this issues fixes by vfs_fruit module or by latest SAMBA ?No attachment I'm afraid. Is the client watching the directory getting a ChangeNotify reply after the rename ? The only way to determine if Ralph already fixed this is to download master or v4.4 and give it a local test. This is the first report of problems so if you can reproduce on master / 4.4 please log a bug and we'll follow up. Cheers, Jeremy.
Partha Sarathi
2016-Jan-30 19:36 UTC
[Samba] Fwd: Change notify/Directory enumeration issue with two MAC OS X El Capitan accessing same folder
Thanks Jeremy/Ralph, for the quick response. Please see my in-line answers On Sat, Jan 30, 2016 at 1:13 AM, Ralph Boehme <rb at sernet.de> wrote:> Hi! > > On Sat, Jan 30, 2016 at 08:49:59AM +0100, Jeremy Allison wrote: > > On Fri, Jan 29, 2016 at 05:28:22PM -0800, Partha Sarathi wrote: > > > Hi Folks, > > > > > > We are seeing an issues where two OS X El Capitan clients opened a > folder > > > and one of them creates a "New Folder" (untitled folder) and renames > it, on > > > the other MAC client explorer the "unititled folder" remains same and > > > unable to access it. > > > > > > Note: The samba version is 4.1.19 and we have not used the vfs_fruit > > > module. > > > > > > attached packet capture where the SMB2 Find responses are failing with > > > STATUS_OBJECT_NOT_FOUND for the find requests with "apple double" > search > > > pattern. > > > > > > Please filter packets for ip.addr == 192.168.200.171 and at last find > > > requests are having search pattern "._?" etc i.e "apple double" after > few > > > SMB2 notify responses. > > > > > > So will this issues fixes by vfs_fruit module or by latest SAMBA ? > > > > No attachment I'm afraid. > > it was attached in a resend. > > > Is the client watching the directory getting a ChangeNotify reply > > after the rename ? > > Yes, the client is getting a proper ChangeNotify, from a quick check > it looks like the server is behaving correctly. > > > The only way to determine if Ralph already fixed > > this is to download master or v4.4 and give it > > a local test. > > As he's not using fruit on his system and fruit doesn't deal with > change notifies at all, if it's fixed in a later relase, I didn't fix > it. :) > > Anyway, Partha please test with a later release. If the problem > persists, I'd check if you can reproduce the issue against a Windows > server and if it works there, compare network traces bit by bit. >I tested against windows2k12R2 and it does not have this issue. I will test against samba4.4 with/without fruit and will update my findings.> > Oh, and dropping samba-users list from cc. > > -Ralph > > -- > SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen > phone: +49-551-370000-0, fax: +49-551-370000-9 > AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen > http://www.sernet.de,mailto:kontakt at sernet.de >
Maybe Matching Threads
- Fwd: Change notify/Directory enumeration issue with two MAC OS X El Capitan accessing same folder
- Fwd: Change notify/Directory enumeration issue with two MAC OS X El Capitan accessing same folder
- smbxcals
- Security permissions issues after changing idmap backend from RID to AUTORID
- Security permissions issues after changing idmap backend from RID to AUTORID