[Samba] security=share, who needs it ?

Carsten Schaub carsten-schaub at arcor.de
Tue Mar 14 22:05:48 GMT 2006


Hi list,

the security=share setting does not behave as many admins expect. Access
to all shares are mapped to the guest account and if the underlying unix
permissions don't permit that access you get errors and the access
doesn't work as expected.

Also is security=share a global parameter. This given, there is no
distinction between guest and authenticated access per share possible
yet.

Further you can archieve the security=share setting behavior with
setting 
-----smb.conf--------
[global]
	security = user     # thats the default of current releases
        map to guest = bad user
        username map = /etc/samba/smbusers

----smbusers-----
foo = *

What reasons prevent removing 'security=share' ?

-- 
Carsten Schaub <carsten-schaub at arcor.de>



More information about the samba mailing list