[Samba] How to fix mapping Administrator to root

Rowland penny rpenny at samba.org
Wed Jun 5 07:53:44 UTC 2019


On 05/06/2019 08:37, adam_xu at adagene.com.cn wrote:
> Hi Rowland ,
>
> I used to manage file or folder permissions using administrator 
> account in Windows Client. So how could I do this task if the 
> administrator can't do this after I mapped it to root in fileserver 
> and remove it's uidNumber in ADUC? should I create another user in 
> Domain Adams"?
>
You can log into a Windows computer as 'DOMAIN\Administrator' and then 
set the permissions on a Samba share, but you must create the share 
correctly, you cannot have any of the old parameters such as 'valid 
users' etc, see here:

https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs

This should work, if it doesn't , you probably have something set up 
incorrectly, so double check everything

Rowland





More information about the samba mailing list