I'd like to set up my samba so that each user has access to specific folders. Some of them for example have home folder on server and those should have access to their home folder, other don't and they shouldn't. I have set
[share1] ... valid users = user1, user2 #those users have access to this share ...
The result is that only some users have access to those folders, that is good. But when I log as user3 he sees this share1, but cannot access it. How can I make it visible only to some users, so that users that cannot access share don't see it at all?
I have found some suggestions to use
browseable list = user1 user2 but it doesn't work for me,
testparm says that
browseable list is incorrect.