If a client tries to reconnect a handle that has a Durable Handle v2 and a handle lease, when reconnecting in DH2C the server calls smbd_smb2_create_durable_lease_check() as part of the handle checks. There a strcmp is done between the path on the reconnected fsp and the on-the-wire SMB2 path. The former will be "foo/bar" while the latter will be "foo\\bar", so the check fails: [10 2018/07/17 12:46:04.907479 ../source3/smbd/smb2_create.c:423 smbd_smb2_create_durable_lease_check] Lease requested for file dir\bigfile, reopened file is named dir/bigfile Have patch, need bugnubmer...
Created attachment 14326 [details] Patch for 4.7, 4.8 and 4.9 cherry-picked from master
Reassigning to Karolin for inclusion in 4.9.0rcNExt, 4.8.next, 4.7.next.
(In reply to Jeremy Allison from comment #2) Pushed to autobuild-v4-{9,8,7}-test.
(In reply to Karolin Seeger from comment #3) Pushed to all branches. Closing out bug report. Thanks!