[Owncloud] owncloud automount shares AD
dago at quantentunnel.de
dago at quantentunnel.de
Sat Dec 14 17:32:11 UTC 2013
Hi list,
I have searched the internet for several similar issues, but never found a solution to this. So basically the environment looks like the following: I have samba4 (basically AD) where all users are authenticated. Now on this samba4 server each user has got a personal share and there may be some public shares...
My goal would be to mount these shares automatically in owncloud, when the user logins in. And i don’t want to them to have to set it up in web interface previously. I see basically two approaches for getting this done:
a) automount the shares via mount.json: here I don’t see any possibility to use arguments like the username and more important password. Also a solution using kerberos seems impossible/hard to do for me. Do I really need to mess around with the filesystem.php? This seems pretty unpractical to me ...
b) using the local file access: Here I would see a lot of trouble regarding the permissions. Each samba-user has its own uid and gid, which I want to preserve for security reasons. But owncloud could only write it with the webserver-user … Also, developing a wrapper here for seems unpractical.
I would love to hear, if somebody has a similar setup working. I cannot believe such a quite basic feature is hard to setup with this great software. :)
Providing an easy solution for this in the end to the community would be a bummer.
Thank you!
Best regard,
David
More information about the Owncloud
mailing list