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 ), it connects, for some reason it sees subfolders as files (screenshot , when navigating, and throws a 500 error ( log (link in comments)
what am I doing wrong?

application log

smb structure screenshot