Nextcloud-Samba Sync
Pre installation
- Install
sambaandvfs-modules
sudo apt update
sudo apt install samba samba-vfs-modules
- Create shares. The example is in
configsfolder
Installation
- Download a
ncsambawatcher.zipfile from a release above 2.0 - Extract somewhere on your server (I recommend your user folder)
- Make sure the samba configuration file is correct (See
configs/smb.24.04.conf) - Configurate the
ncsambawatcher.configfile
| Name | Required | Description |
NEXTCLOUD_CONTAINER_NAME |
Yes | The nextcloud's docker container name |
NEXTCLOUD_USERS |
No | Usernames separated with spaces |
NEXTCLOUD_GROUPFOLDER_IDS |
No | Groupfolder ids separated with spaces (only the number) |
Example 1:
NEXTCLOUD_CONTAINER_NAME=nextcloud
Example 2: (See configs/ncsambawatcher.config.default)
- Run the
init.shscript - You're done :)
Notes
- You don't need to add users and groupfolders to the configfile because the program add automaticly from the logfile
- For a user (not groupfolder): The username and the samba share name MUST BE THE SAME
Description
Releases
3
Release v2.0
Latest
Languages
C++
91.4%
Makefile
6%
Shell
2.6%