[Samba] Ongoing internal DNS discrepancies: !root = SAMDOM\Administrator

Rowland Penny rpenny at samba.org
Sat Feb 12 14:05:47 UTC 2022


On Sat, 2022-02-12 at 07:57 -0600, Patrick Goetz via samba wrote:
> I just noticed another DNS discrepancy involving the use of
> 
> /etc/samba/smb.conf:
> -------------------
> [global]
> username map = /etc/samba/user.map
> 
> 
> archives at data2:/$ cat /etc/samba/user.map
> !root = SAMDOM\Administrator
> 
> 
> When this is set, the root user can just do stuff:

root can do stuff without the user.map , what the user.map does is to
map Administrator to the root user, this allows Administrator to do
things from Windows on Unix.

If you do not have a root user (and Ubuntu does have a root user, it
isn't readily active), you can always use sudo.

Rowland





More information about the samba mailing list