[Samba] How to fix mapping Administrator to root

Rowland penny rpenny at samba.org
Mon Jun 3 14:14:20 UTC 2019

On 03/06/2019 15:06, adam_xu at adagene.com.cn wrote:
> Hi Rowland,
> here's what in my  idmap.ldb
> # record 39
> dn: CN=S-1-5-21-214324388-144513417-3129160214-500
> cn: S-1-5-21-214324388-144513417-3129160214-500
> objectClass: sidMap
> objectSid: S-1-5-21-214324388-144513417-3129160214-500
> type: ID_TYPE_UID
> xidNumber: 0
> distinguishedName: CN=S-1-5-21-214324388-144513417-3129160214-500
> It seems my administrator's group is root. that's the reaseon I can't 
> see any share since I  only give the share permission to "Domain 
> Admins" with full control and "Domain users" with RW.
> I don't know why  my 'Administrator'  is not a member of 'Domain 
> Admins' . any more suggestion, Rowland ?
Double check that Administrator isn't a member of 'Domain Admins' (it 
should be) and if it isn't, add Administrator to 'Domain Admins'

You should set the base permissions as shown on the wikipage: '0770' & 
root:<whatever group>, this should enable Administrator to see and/or 
connect to the share.


More information about the samba mailing list