lars
3500b67a40
refresh link for logs feature change default setting of UseConfigPartition to "0" README file rewritten README.samba added README.davfs added README.Debian rewritten event scripts for samba and apach2_dav improved do not redirect to "disks overview" after successful plugin execution (e.g. date, ...) unclean web dataset fixed removed some non-translateable strings from po and pot files automatically update the cryptobox version according to the debian package version number
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
Integration of samba into the CryptoBox
|
|
|
|
This file describes how to expose the volumes that are managed by the CryptoBox
|
|
through samba shares.
|
|
|
|
There are two different ways to do this:
|
|
|
|
|
|
A) one share for all volumes together
|
|
|
|
Just add the following lines to your /etc/samba/smb.conf:
|
|
[cryptobox]
|
|
path = /var/cache/cryptobox-server/mnt
|
|
browseable = yes
|
|
read only = no
|
|
guest ok = yes
|
|
|
|
Reload the new samba configuration by calling:
|
|
invoke-rc.d samba reload
|
|
|
|
|
|
|
|
B) one share for each volume
|
|
|
|
Copy the example event script /usr/share/doc/cryptobox-server/event-script/samba
|
|
to /etc/cryptobox-server/events.d/samba. This event handler will add and remove
|
|
shares whenever a volume is mounted or unmounted via the CryptoBox webinterface.
|
|
|
|
Add the following line to your /etc/samba/smb.conf:
|
|
include = /var/cache/cryptobox-server/samba-include.conf
|
|
|
|
Create this file:
|
|
touch /var/cache/cryptobox-server/samba-include.conf
|
|
|
|
Chown it to the cryptobox user:
|
|
chown cryptobox /var/cache/cryptobox-server/samba-include.conf
|
|
|
|
Reload the new samba configuration by calling:
|
|
invoke-rc.d samba reload
|
|
|