[share]
path = /home/an/share
available = yes
browse able = yes
public = yes
writable = yes
security = user
username map = /etc/samba/smbusers
[share]
comment = Shared Folder with username and password
path = /
public = yes
writable = yes
valid users = anjun
#create mask = 0700
#directory mask = 0700
force user = anjun
force group = anjun
available = yes
browseable = yes
[share]
path =/
public yes
writable =yes
valid users= anjun
create mask =0777
directory mask=0777
fore user =anjun
force group =anjun
available =yes
browseable =yes