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:
Created attachment 16472 [details]
backport for 4.14
Pushed to autobuild-v4-14-test.
This bug was referenced in samba v4-14-test:
Pushed to v4-14-test.
Closing out bug report.
This bug was referenced in samba v4-14-stable (Release samba-4.14.0rc4):