Referência: https://www.vivaolinux.com.br/etc/smb.conf-virtualboy/
Retirado em : 07/10/20232
[global]
workgroup = grupo
netbios name = nome_maquina
server string = Servidor Linux
log file = /var/log/samba/%m.log
max log size = 500
debug level = 1
security = server
password server = Windows_NT_Machine
smb passwd file = /etc/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
unix password sync = yes
encrypt passwords = yes
map to guest = never
null passwords = no
preferred master = no
domain master = no
wins support = no
netbios aliases = nome_maquina
logon drive = hda1
logon home = /home
#============== Share Definitions ==============
[Servidor_Arquivos]
path = /pasta_compartilhada
comment = Servidor de Arquivos
available = yes
browseable = yes
public = yes
writable = no
printable = no
only user = yes
username = user1 user2 user3 user4
guest only = no
create mask = 0755
[FTP_Publico]
path = /dir_to_ftp_default
comment = Servidor FTP
available = yes
browseable = yes
public = yes
writable = yes
printable = no
only user = yes
username = user1 user2 user3 user4
guest only = no
create mask = 0755
[Arquivos_Pessoais]
path = /home/samba
comment = Arquivos Pessoais
available = yes
browseable = yes
public = yes
writable = yes
printable = no
only user = yes
username = user1 user2 user3 user4
guest only = no
create mask = 0755