[Samba] User permissions - nil authorised users

dfirth denys.firth at gmail.com
Wed Sep 3 14:37:33 GMT 2008


I am a bit surprised by the behaviour of Samba user permissions (security =
user) - although in fact it produces exactly what I want! Can I confirm it
is correct, and ask one question?

I have one class of shares (private) which I want only specified users to
access. And another class which I want everyone to be able to access
(public) but with a common password protection for some element of security
from visitors on the lan with laptops etc.

The private shares work fine, as expected with Samba users matching Windows
users.
What surprised me was that by omitting any authorised users for the public
shares it allows (as I wanted it, but not as I expected it) anyone on the
lan to access the public shares by entering a single authorised user name
and password (I set up a general user and password in Samba for this
purpose). I did not set up guest accounts.

I had thought that user security needed to match the users actual user name
and password in windows. So I was surprised by this behaviour.

My question therefore is: is this a valid way to achieve what I want? And as
a follow up, is there a way to require revalidation (this option does not
seem to be accepted).
Thanks
Denys
-- 
View this message in context: http://www.nabble.com/User-permissions---nil-authorised-users-tp19248582p19248582.html
Sent from the Samba - General mailing list archive at Nabble.com.



More information about the samba mailing list