[Samba] [3.6.6] Possible to allow password-free read/write access?

Gilles gilles.ganault at free.fr
Fri Mar 27 14:41:47 MDT 2015


	At home, I use my Windows client host without entering a password,
and would like to access a local Linux host likewise, ie. without
being prompted for login/password while still having read/write

Is this possible?

Currently, I created no Unix/Samba accounts for the Windows user, and
the following smb.conf only works in read-only mode (ie. I get an
error when trying to write):

workgroup = WORKGROUP
netbios name = LINUX

;a bit of security
hosts allow =
hosts deny =

;So users don't get 'System error 5 has occurred. Access is denied."
when running "net view \\linux"
security = user 
map to guest = Bad User

comment = Data
path = /myshare
writable = yes
guest ok = Yes

;chown -R www-data /myshare
valid users = www-data

force create mode = 0644
create mask = 0664
security mask = 0664
force security mode = 0664

Thank you.

More information about the samba mailing list