Created attachment 11023 [details] Capture file from Win8 showing the problem - See frame 28. Bug fixed in master by Volker. Back-port for 4.2.next to follow. From vl@samba.org: We have to cancel notifies with DELETE_PENDING if the directory watched goes away. See frame 28 in win8.cap.
Created attachment 11024 [details] git-am cherry-pick from master for 4.2.next
Re-assigning to Karolin for inclusion in 4.2.next.
Patch does not apply to current v4-2-test: error: Anwendung des Patches fehlgeschlagen: source3/smbd/notify.c:418 error: source3/smbd/notify.c: Patch konnte nicht angewendet werden Anwendung des Patches fehlgeschlagen bei 0004 smbd: Cancel pending notifies if the directory goes away
Created attachment 11079 [details] patch Here's a version that applies and compiles with git am to v4-2-test. The other one did apply fine with git am -3.
Comment on attachment 11079 [details] patch LGTM.
Pushed to autobuild-v4-2-test.
(In reply to Karolin Seeger from comment #7) Pushed to v4-2-test. Closing out bug report. Thanks!