hi.
how can i link nextcloud files into samba users’ home?
so that i can access my nextcloud files from something like \mynethserver\myusername\nextcloud
cmiiw, samba do not follow symlink, otherwise i would do:
ln -s /var/lib/nethserver/nextcloud/myuserid /var/lib/nethserver/nextcloud/ibay/myusername/nextcloud
If you use the Next/ Own Cloud client, you´ll find your files in your home directory- nothing more to do- and the advantage is also, that you can use several owncloud accounts at once. That works in Windows as in Linux clients (for Apple I don´t know).
I use this solution because it gives the opportunity to move files and folders from one cloud to the other.
nextcloud will let you mount samba shares as external sources, using the users username and password to access the shares. If you are using an AD or LDAP server for credentials, they can log in automatically to their samba shares. Next cloud can also use Samba to authenticate.
nethservertest is the domain
/plop is the sharefolder name
192.168.56.3 is the ns7 IP (not the nsdc container)
the user/password is retrieved from the nextcloud login, as a side note nextcloud does an error with the admin user because you have two passwords for the same user
Nethesis,1234 for the internal admin
yourPassword for the sambaAD user
So when you save the parameters you have an errror, logout and try with another user. Log is in /var/log/samba/log.192.168.56.3
does it is valuable to work on it ?
For the record you have an issue on GH for nextcloud and samba shares
My falt at trying it fist there are two menues with external Stoarge. One in Files -> External Storage but there is the place fro external files of admin.
The connecition to thew external Files are in Settings -> External files …
There are all fhe stettings to connect the external file severs…