Windows File Share enumerating everything as folders

Hi,

I’ve just set up a test environment to evaluate Nextcloud, and, it isn’t going to well at the moment.

All Windows File shares are showing up as folders - if I click on any folder - it views fine, but, if I click on a file, it tries to view as a folder and fails. Looking at the log, I believe it is incorrectly marking files as folders.

I’ve raised a bug here - https://github.com/nextcloud/server/issues/5340

Can anyone offer any advise please?