[Samba] How to set same UID and GID for ADDC server and all Member server

Dario Lesca d.lesca at solinos.it
Thu Nov 22 12:55:08 UTC 2018

I have setup a ADDC Samba server and a winbind member server

I have see that same user have  UID/GID different  from  ADDC and
member server

# Addc (Fedora 29)[root at s-addc ~]# id d.lescauid=3000023(DOM\d.lesca)
root at s-addc ~]# rpm -q sambasamba-4.9.2-0.fc29.x86_64

# Member (Centos7)[root at s-dati ~]# id d.lescauid=1000003(d.lesca)
gid=1000005(domain users) gruppi=1000005(domain
[root at s-dati ~]# rpm -q sambasamba-4.7.1-9.el7_5.x86_64

And if I setup another member server, the UID/GID it's still different
from the other servers

It's possible to set UID/GID of all member server same that assigned on
the AD server?
Or set a specific UID/GID to all user/group?

Many thanks

Dario Lesca
(inviato dal mio Linux Fedora 28 Workstation)

More information about the samba mailing list