Dieter Toews
Dabbler
- Joined
- Jul 21, 2016
- Messages
- 21
Hi all,
Following up on a previous post (https://forums.freenas.org/index.php?threads/how-to-nextcloud-get-acces-to-my-share.48566/) the suggestions (https://forums.freenas.org/index.ph...plugins-write-permissions-to-your-data.27273/) don’t really work for me in my scenario.
Here is my setup:
I’m trying to setup:
The golden triangle (or +linux quadrangle) (or +bsd quintangle?) between mac windows and open directory. This got harder when apple killed off the workgroup manager tool (basically GPO for mac os x) but preference manager can still be used to run shell scripts on attached clients. The plan is to use symbolic links and the asynchronicity of nextcloud to recreate redirected folders with off-line files on the mac (and use a similar strategy linux). Centrify would solve all my problems but doesn’t fit the budget of a home lab and only runs on windows server (ick).
My problem:
I think I’ve got two options:
Following up on a previous post (https://forums.freenas.org/index.php?threads/how-to-nextcloud-get-acces-to-my-share.48566/) the suggestions (https://forums.freenas.org/index.ph...plugins-write-permissions-to-your-data.27273/) don’t really work for me in my scenario.
Here is my setup:
- I’ve got an active directory domain controller (zentyal 5.x) which I administer from a windows 7 machine with the remote tools installed on it (GPO and user+group utilities give much more control than what is available inside of zentyal natively.)
- I’ve got a mac os x server with open directory started but not fully setup
- I’ve got windows (7), mac (via and built in tool), and Linux (via pbis-open https://github.com/BeyondTrust/pbis-open/wiki) clients joined to my active directory domain. The linuxes are debian / Ubuntu flavours.
- I’ve got group policy objects setup to do folder redirection with offline files and this works with windows 7 clients. I’ve also got unix uid and gid s enabled in active directory.
- Freenas is joined to active directory and has smb shares setup (https://www.youtube.com/watch?v=xGEnaex883s ). The GPOs point to the freenas shares.
a. I’ve got two shares one for per-user shares to which I redirect stuff like the users document folder.
b. And another to which all users have read write for a common folder to which I redirect things like the pictures folder. - Nextcloud (11.0.1) installed in a freebsd jail as per Joshua parker ruehlig’s great directions. Here, here and with a little nextcloudifing of the naming of stuff inside the jail here.
- I’ve got nextcloud joined to the active directory domain as per : https://docs.nextcloud.com/server/11/admin_manual/configuration_user/user_auth_ldap.html.
- I’ve got the nextcloud external storage plugin installed.
I’m trying to setup:
The golden triangle (or +linux quadrangle) (or +bsd quintangle?) between mac windows and open directory. This got harder when apple killed off the workgroup manager tool (basically GPO for mac os x) but preference manager can still be used to run shell scripts on attached clients. The plan is to use symbolic links and the asynchronicity of nextcloud to recreate redirected folders with off-line files on the mac (and use a similar strategy linux). Centrify would solve all my problems but doesn’t fit the budget of a home lab and only runs on windows server (ick).
My problem:
I think I’ve got two options:
- Somehow mount the datasets for the smb shares in the jail but still have nextcloud understand the NTFS/CIFS/SMB permissions…
a. If this is the best option then how might I go about doing it? - Connect nextcloud to the shares via the smb plugin – they have a smb with ‘OC’ credentials options that I think will pull the active directory credentials in and use that for permissions.
a. Nextcloud wants smbclient (php) installed to connect to smb shares. The ports page references php5.6 for pecl-smbclient (https://www.freshports.org/net/pecl-smbclient/ ) does this mean I’ll need to compile my own version because there is no php 7 version in the pkg library? If so would I just make install clean it?