Samba
#======================= Global Settings =====================================
[global]
workgroup = WORKGROUP
server string = Samba %v
server role = standalone
log file = /var/log/samba/log.%m
max log size = 50
passdb backend = tdbsam
unix extensions = No
security = user
usershare path = /var/lib/samba/usershares
usershare max shares = 100
usershare allow guests = yes
usershare owner only = yes
#============================ Share Definitions ==============================
[upload]
create mask = 0644
path = /home/fancy/upload
read only = No
valid users = fancy
[share]
path = /home/share
valid users = share
wide links = Yes
[ubuntu]
path = /home/fancy
valid users = fancy
wide links = Yes
obey pam restrictions = no
to avoid nobody auth log
hosts deny = 172.24.68.179
to deny malicious connection/brocast