[Samba] winbind: How to map Administrator to "root" on AD member server

Björn JACKE bj at SerNet.DE
Sun Feb 16 14:24:35 MST 2014

On 2014-02-15 at 23:38 +0000 Rowland Penny sent off:
> 1) Samba maps the Administrator to 0

this is what I meant when saying uidNUmber is 0.

> dn: CN=SID-500
> name: Administrator
> cn: SID-500
> objectClass: sidMap
> objectSid: SID-500
> type: ID_TYPE_UID
> xidNumber: 0
> distinguishedName: CN=SID-500
> 2) where are you going to get the uidNumber from??? Samba 4 does not
> store any uidNumber's until one is created i.e. there is no
> uidNumber to give to the Administrator.

sorry for the confusing use of the term uidNumber, read it like s/uidNUmber/UID
number/ :-). yes, xidNumber: 0 maps to the UID number 0, which causes the
trouble described in the bug.


More information about the samba mailing list