Hasil copas dari bang Kusumayadi

Edit script line on /etc/samba/smb.conf

[global]
workgroup = Linux
netbios name = Server
server string = My Server
hosts allow = 192.168.0.0/24
security = user

[private]
comment = Private Directories
valid users = private
path = /home/private
force user = private
force group = private
create mask = 0775
browseable = Yes
read only = No

[public]
comment = Public Directories
valid users = public
path = /home/public
force user = public
force group = public
create mask = 0775
browseable = Yes
read only = No

[share]
comment = Share Directories
valid users = share
path = /home/share
force user = share
force group = share
create mask = 0775
browseable = Yes
read only = No

#rcsmb start

or

#service smb restart