Nextcloud + ldap + windows ad + onlyoffice

Good day. I made a bundle of Nextcloud + Onlyoffice applications in docker containers using this docker-composer.yml (link in comment)
set up interaction with onfyoffice, everything works
after that, I installed the LDAP user and group backend (1.13.1) and External storage support (1.15.0) applications and install smbclient
authorization through LDAP has earned. I’m trying to connect files from a file server (config https://i.imgur.com/HEj1s7C.png ), it connects, for some reason it sees subfolders as files (screenshot https://i.imgur.com/nueh6yx.png) , when navigating, and throws a 500 error (https://i.imgur.com/pb6kvYC.png). log (link in comments)
what am I doing wrong?

docker-compose.yml https://pastebin.com/bkkJ6KnW
application log https://pastebin.com/JLrMvUux

smb structure screenshot https://i.imgur.com/yNH4tCy.png