Shared Folders with Samba and Qemu

by Dejan Lukan
Oct. 7, 2017 0 comments INFOSEC Institute Pen Testing & Audits

After installing Samba, we have to configure it to allow sharing folders on the host computer. The configuration file can be found under /etc/samba/smb.conf and is divided into sections enclosed into brackets [ and ]. Any line starting with a semicolon ‘;’ or hash ‘#’ is a comment and doesn’t do anything to guide the operation of Samba server except give us the description about what each option does. The default configuration smb.conf has the following sections: [global]: global settings that are applied to every other section in the configuration file. [homes]: an example of a shared folder, which we can see when scanning a network. [printers]: an example configuration for sharing printing capabilities over the network.