Fedora 20 Samba Server setup
yum install cups-libs samba samba-common samba-client system-config-samba
#Disable firewall otherwise windows cannot see the PC
systemctl stop firewalld #temporarily stop firewall
systemctl disable firewalld #disable firewall after every reboot
#dsiable secure linux, otherwise windows don't have any access right to the shared folder
setenforce 0 #temporarily disable selinux
set below line in file /etc/selinux/config: #disable selinux for every reboot
SELINUX=disabled
systemctl enable smb.service
systemctl enable smb.service
systemctl restart smb.service
pdbedit -L -v
systemctl restart smb.service