[Samba] How to fix mapping Administrator to root

adam_xu at adagene.com.cn adam_xu at adagene.com.cn
Wed Jun 5 09:35:31 UTC 2019


Hi ,

 Yes, I also enable "access based share enum = yes" too.
but this opition can not hide "root"  shares ,such as \\share\IT ,it can only hide subfoler or file like \\share\IT\subfolder 

Best,


徐星亚
天演药业(苏州)有限公司
苏州工业园区星湖街218号生物纳米园C14幢4楼
邮编:  215123
电话:  86-512-8777-3585
 
From: Rowland penny via samba
Date: 2019-06-05 17:30
To: samba
Subject: Re: [Samba] How to fix mapping Administrator to root
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
 
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list