[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 passwordpath = /public = yeswritable = yesvalid users = anjun#create mask = 0700#directory mask = 0700force user = anjunforce group = anjunavailable = yesbrowseable = yes
[share]
path =/
public yeswritable =yesvalid users= anjuncreate mask =0777directory mask=0777fore user =anjunforce group =anjunavailable =yesbrowseable =yes