Active Directory with users GUID and DAV issues

Hello,
I connected my nextcloud instance to an AD (run on Server 2008R2) and have issues with accessing DAV files for the AD users.

The list of users is complete with all showing correctly (their GUID and name in first column), here I can assign them to groups etc.
Problem starts with their data folders because they have guid rather than the username. I’ve managed to get round this by using ‘samAccountName’ in advanced settings to override home folder name.
Now when I want to connect to DAV… Nextcloud offers me this:

WebDAV  http://nextcloud.xxx.local/remote.php/dav/files/97D37C38-DE5D-4BC9-9531-5CSSS15C5968/

This doesn’t get connected to the right place. Windows File Explorer accepts username and password but shows empty folder with no rights.

Users can login to nextcloud using their puid and password and files are stored in their correct home folder.

Tested with Nextcloud 19.0.3 and 18.0.9 all exactly the same.

LDAP settings:
Users:  (|(objectclass=organizationalPerson)(objectclass=person)) 
Login Attr: (&(|(objectclass=organizationalPerson)(objectclass=person))(samaccountname=%uid))

Operating system and version: Ubuntu 20.04
Apache or nginx version: Apache 2.4.41
PHP version: 7.4

Could this have something to do with my system configuration, as described here: