Mounting a Windows-shared folder
It's quite common for network attached storage volumes to use the CIFS protocol. Tools that allow setting up such sharing are built into popular operating systems such as Microsoft Windows and OS X. Many NAS devices also use this protocol, often running a version of the Samba package for Linux. Mounting CIFS shares in desktop environments is quite simple, but what if you want your server to have permanent access to a CIFS volume? Webmin can help you set up an automounting network filesystem that will connect to a remote CIFS server during system boot.
Getting ready
Before your system can access CIFS network volumes, you will need to install an additional package typically named cifs-utils
. Refer to the Installing software packages recipe from Chapter 1, Setting Up Your System, for information about how to install packages using Webmin.
How to do it...
Follow these steps to mount a Windows shared folder in your filesystem:
Because we'll need to store the CIFS user...