Access with SAMBA/CIFS Print

  • samba, cfis, windows, share
  • 0


You can link your Offsite Storage Space via Samba/CIFS. You can use the following UNC path.

If you are using your main account, the share name is backup.

If you are using a sub-account, you must use the username of the sub-account as the username and share name.





If you use a FritzBox Router from AVM, it is necessary to deactivate the NetBIOS filter for Samba/CIFS to work. Please see point 4 of for more information.


In Linux-based systems you can use the following command on the CLI to mount the file system:

mount.cifs -o user=<username>,pass=<password> //<sr-your_storage_number> /PATH/FOLDER

By adding the following line to /etc/fstab, your system will automatically mount the file system at boot. (It is a single line!):

//<sr-your_storage_number> /mnt/backup-server cifs iocharset=utf8,rw,credentials=/etc/backup-credentials.txt,uid=<system account>,gid=<system group>,file_mode=0660,dir_mode=0770 0 0

The file /etc/backup-credentials.txt (mode 0600) should contain two lines as follows:


In Debian-based distributions, the command is provided via the package cifs-utils.

apt-get install cifs-utils

On Debian Wheezy based systems, edit the parameters as follows if you are having problems:


You should also add the following lines to /etc/rc.local:

modprobe cifs
echo 0 > /proc/fs/cifs/OplockEnabled


On FreeBSD, you can mount the Offsite Storage Space as follows:

Add the following line to /etc/fstab

//<username>/backup /mnt/storagebox smbfs rw,-N,-I=<sr-your_storage_number>,-U=<username> 0       0

Replace <username> with your assigned username. Also you need to use mkdir /mnt/storagebox to create the local directory if it does not already exist.

Add the following lines to /etc/nsmb.conf


Create the crypt-string with smbutil crypt.


In Windows, use the following instructions to connect your Offsite Storage Space as a network drive with its own drive letter:

  1. Open Windows Explorer.
  2. Windows 7: On the left, click on Computer and then at the top on Map network drive.
    Windows 8/10: On the left, click on This PC. And then at the top click on Computer and then on Map network drive.
  3. In the new dialog, select a network drive letter of your choice and enter \\<sr-your_storage_number>\backup for the folder. Enter a check next to Reconnect at login if you want to automatically establish a connection upon starting the system.
  4. When you are asked for login information, you should enter the username and password you used for your Offsite Storage Space. Optional, you can save the login information in Windows.
  5. The setup of your Offsite Storage Space as a network drive is now finished and can be found as separate drive under This PC (Windows 8.1/10) or Computer (Windows 7/8).

Error with files larger than 4 GB

If there are errors when copying files that are 4 GB or larger, then it can help to deactivate caching. To do so, the Offsite Storage Space must be mounted with the extra parameter -o cache=none.

Encrypt SAMBA connection

To encrypt a SAMBA connection, add the following option to your mount command: seal


mount.cifs -o seal,user=<username>,pass=<password> //<sr-your_storage_number> /PATH/FOLDER

Please note that this feature is only available in newer Linux versions (e.g. starting with Ubuntu 18.04).


Got a question? Connect with us and Create a Ticket.

Was this answer helpful?

« Back