[Samba] 'Administrator' account (UID 0) on Samba member of a Samba4 AD DC

steve steve at steve-ss.com
Fri May 31 06:12:47 MDT 2013

On Fri, 2013-05-31 at 12:56 +0100, Alex Matthews wrote:
> Hi all,
> I have a samba server as member of an AD DC.
> In said AD DC there is the 'administrator' user which has the default 
> UID of 0 (the same as root)
> from the ADDC:
> # id administrator
> uid=0(root) gid=513(SMC\Domain Users) groups=0(root),513(SMC\Domain 
> Users),3000005(SMC\Group Policy Creator Owners),3000009(SMC\Enterprise 
> Admins),512(SMC\Domain Admins),3000007(SMC\Schema Admins)
> from the member server:
> # id administrator
> id: administrator: no such user

Map it to root:

username map = /path/to/usermap

with /path/to/usermap having something like:
root = SMC\\administrator SMC\administrator

(not sure about the backslashes so I've put both possibilities)

More information about the samba mailing list