I need some help/ideas....In the past when I was using OC 9x, I used to have an script (bash script) that automatizally create mount.json for me once a month. Now it's now available anymore and I need some ideias to do the same. Let me explain my scenario: I have an active directory which also servers my user files. These files/sharing are: Home folder and some groups (some users may have 2, 3, 4, etc....groups). In the past, my owncloud VM has an SMB mount point to our AD/FileServer (root) and my bash script generate mount.json, including the home folder as home data folder in OC and for each group that user is member, a folder called '[GROUP_NAME]' was created (including '['). So, when user loged in OC, all files/folder listed in 'OC home' was the home of user in my fileserver (mapped on linux OC VM). Then, if user is in goups "A", "B" and "C", 3 folders are 'created' in his home: [A], [B] and [C].
What I would like to ask is: what is the best way to do this in latest version of OC? I don't want to manually map/create external storage for users/groups.
LDAP authentication is alredy configured (and working!). All user/groups are imported fine.