When a client does two tree connects to the same path,
vfs_ChDir() may leave conn->cwd_fsp->fh->fd as -1.
But all consumers of it expect AT_FDCWD and get an error
(typically EBADF, NT_STATUS_INVALID_HANDLE).
Created attachment 16112 [details]
Patch for 4.12 cherry-picked from master
(In reply to Ralph Böhme from comment #1)
Pushed to autobuild-v4-12-test.
Pushed to v4-12-test.
Closing out bug report.