In Linux, if we used to share files on the samba server on windows, right-click the folder to be shared and select share option settings. However, how does one share files between windows and linux? This involves the samba service, and it is not difficult to configure the software. It is also very simple to use. Www.2cto.com samba configuration file smb. conf] samba is installed by default when you install the system. If samba is not installed, run the following command to install it (CentOS ): the configuration file of yum install-y samba-client Samba is/etc/samba/smb. conf: modify the configuration file to meet our various requirements. When you open this configuration file, you will find that many of the content uses "#" or. Let's take a look at the uncommented parts: [global] workgroup = MYGROUP server string = Samba Server Version % v security = user passdb backend = tdbsam load printers = yes cups options = raw [homes] comment = Home Directories browseable = no writable = yes [printers] comment = AllPrinters path =/var/spool/samba browseable = no guestok = no writable = no printable = yes there are three main parts: [global], [homes], [printers].