In a command window, rename fails to work on a SMB2 share.
The enclosed patch removes some code Jeremy suspected was bogus in comments, and matches the exact symptoms we saw.
Now the behavior matches other implementations we have access to, as far as rename goes.
Created attachment 5756 [details]
proposed patch so rename works.
This is the suggested fix.
Perfectly correct - pushed - thanks!
Can we close this bug :).
Fixed for 3.6.0.