Regression in 4.14 introduced by the new handle based directory entry code in the dir enumeration loop. Have patch, need bugnumber...
This bug was referenced in samba master: 5572ae296e720a00ab438d7b50cfc458af631f69 d78964c40b5ca5ee0658c46d492b3dcd6f6b4b94
Created attachment 16472 [details] backport for 4.14
Pushed to autobuild-v4-14-test.
This bug was referenced in samba v4-14-test: c19d3eacc2f3626622905e9725ddb96e27ca1fe2 9baa3dddd0d3aa6c7de04ee4a00f7164ac93b6c8
Pushed to v4-14-test. Closing out bug report. Thanks!
This bug was referenced in samba v4-14-stable (Release samba-4.14.0rc4): c19d3eacc2f3626622905e9725ddb96e27ca1fe2 9baa3dddd0d3aa6c7de04ee4a00f7164ac93b6c8