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

Gaiseric Vandal gaiseric.vandal at gmail.com
Fri Mar 27 14:57:30 MDT 2015


per smb.conf, you might want to try changing to "security = share" 
(assuming you don't have any shares that might require more restriction.


Did you try setting the linux directory permissions as 777-   at least 
for testing?


On 03/27/15 16:41, Gilles wrote:
> 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