Public domain
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[developer]
comment = All Files
path = /var/lib/samba/developer
guest ok = yes
browseable = yes
read only = no
create mask = 0755
force create mode = 0755
directory mask = 0755
force directory mode = 0755
BY: Farid Ahmadian
TAG: samba, network
DATE: 2016-04-23 19:30:10
With many thanks and best wishes for dear Pejman Moghadam, someone who taught me alot in linux and life :)