[Samba] Two DC but Different UID

Carlos A. P. Cunha carlos.hollow at gmail.com
Tue Jun 14 16:00:11 UTC 2016


Correcting previous email


Hello!
Own two Dcs Samba 4.4, this all OK, but ids are different:


Example DC1:
id tr005
uid = 3000039 (TESTELOCAL \ tr005) gid = 100 (users) groups = 100 
(users), 3000039 (TESTELOCAL \ tr005), 3,000,009 (BUILTIN \ users)

Example DC2:
id tr005
uid = 3000023 (TESTELOCAL \ tr005) gid = 100 (users) groups = 100 
(users), 3000023 (TESTELOCAL \ tr005), 3,000,001 (BUILTIN \ users)

My smb.conf is the same in both:
# Global parameters
[global]
workgroup = TESTELOCAL
realm = TESTELOCAL.INTERNO
netbios name = SAMBADC-01
server role = active directory domain controller
server services = s3fs, rpc, NBT, wrepl, ldap, CLDAP, kdc, drepl, 
winbindd, ntp_signd, kcc, dnsupdate
idmap_ldb: use RFC2307 = yes


[Netlogon]
path = /opt/samba/var/locks/sysvol/testelocal.interno/scripts
read only = No

[Sysvol]
path = / opt / samba / var / locks / sysvol
read only = No


The doubt is this and problem?
If yes, how to fix?

Thank you


Em 14-06-2016 12:59, Carlos A. P. Cunha escreveu:
>
> Hello!
> Own two Dcs Samba 4.4, this all OK, but ids are different:
>
>
> Example DC2:
> id tr005
> uid = 3000039 (TESTELOCAL \ tr005) gid = 100 (users) groups = 100 
> (users), 3000039 (TESTELOCAL \ tr005), 3,000,009 (BUILTIN \ users)
>
> Example DC2:
> id tr005
> uid = 3000023 (TESTELOCAL \ tr005) gid = 100 (users) groups = 100 
> (users), 3000023 (TESTELOCAL \ tr005), 3,000,001 (BUILTIN \ users)
>
> My smb.conf is the same in both:
> # Global parameters
> [global]
> workgroup = TESTELOCAL
> realm = TESTELOCAL.INTERNO
> netbios name = SAMBADC-01
> server role = active directory domain controller
> server services = s3fs, rpc, NBT, wrepl, ldap, CLDAP, kdc, drepl, 
> winbindd, ntp_signd, kcc, dnsupdate
> idmap_ldb: use RFC2307 = yes
>
>
> [Netlogon]
> path = /opt/samba/var/locks/sysvol/testelocal.interno/scripts
> read only = No
>
> [Sysvol]
> path = / opt / samba / var / locks / sysvol
> read only = No
>
>
> The doubt is this and problem?
> If yes, how to fix?
>
> Thank you
>



More information about the samba mailing list