linux smb
/etc/samba/smb.conf
[global]
workgroup =WORKGROUP
security = user
map to guest =Bad User
passdb backend = tdbsam
printing=cups
printcap name = cups
load printers =no
cups options =raw
[public]
comment=public
path=/share
browseable=yes
read=yes
writable = yes
public=yes