On 05/06/2019 09:51, adam_xu at adagene.com.cn wrote:> Hi Rowland , > > In?some scenarios,?we?have?hundreds > of?shared?folders.?We?don't?want?users?to?see?too?many?folders,?so?we?configure?share?permissions?and?set > "hide unreadable = yes" in smb.conf. then users can only see the > folder that he or she has permissions. This?is?why?we?do something in > "share" tab. >Using 'hide unreadable' in smb.conf should have no bearing on the 'share' tab, it hides files that users cannot read, it does not hide the share. If you want to hide the entire share from Windows clients, then place a '$' on the end of the share name in smb.conf e.g. [share] becomes [share$], this would hide it from everyone though. Just what are you trying to add or remove from the 'share' tab ? Rowland
adam_xu at adagene.com.cn
2019-Jun-05 09:18 UTC
[Samba] How to fix mapping Administrator to root
Hi , For example. I have a share service named "IT", I want only members in the IT team can see that share, members in other team can't even see the share. Then I would do this: remove the user "everyone"'s share permission and add "domain admins" with full control and the ad group "it",with read and write permissions in "share" tab. Best, yours Adam From: Rowland penny via samba Date: 2019-06-05 17:10 To: sambalist Subject: Re: [Samba] How to fix mapping Administrator to root On 05/06/2019 09:51, adam_xu at adagene.com.cn wrote:> Hi Rowland , > > In some scenarios, we have hundreds > of shared folders. We don't want users to see too many folders, so we configure share permissions and set > "hide unreadable = yes" in smb.conf. then users can only see the > folder that he or she has permissions. This is why we do something in > "share" tab. >Using 'hide unreadable' in smb.conf should have no bearing on the 'share' tab, it hides files that users cannot read, it does not hide the share. If you want to hide the entire share from Windows clients, then place a '$' on the end of the share name in smb.conf e.g. [share] becomes [share$], this would hide it from everyone though. Just what are you trying to add or remove from the 'share' tab ? Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
On 05/06/2019 10:18, adam_xu--- via samba wrote:> Hi , > > For example. I have a share service named "IT", I want only members in the IT team can see that share, members in other team can't even see the share. Then I would do this: > remove the user "everyone"'s share permission and add "domain admins" with full control and the ad group "it",with read and write permissions in "share" tab. >Well stop doing that ;-) Go and read 'man smb.conf', especially the part about the 'access based share enum' parameter. Rowland