Nextcloud external storage files owner

**NethServer Version:7.9.2009
Module:**nextcloud 20.0.9
in a NS can I add to Nextcloud external storage a folder shared with LDAP provider in the same server? I already tried but files created or uploaded via web access cannot be read or modified accessing them via SMB. I did a workaround setting up a cron job that reset owner on the files and folder shared but I don’t like it so much, is there any other way?