[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


Hello

	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
access.

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):

=================
[global] 
workgroup = WORKGROUP
netbios name = LINUX

;a bit of security
hosts allow = 127.0.0.1 192.168.0.0/24
hosts deny = 0.0.0.0/0

;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

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

;DOESN'T WORK: WHICH USER TO USE?
;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