[Samba] Validate Ids Multiple DC

Rowland penny rpenny at samba.org
Mon Feb 1 19:27:10 UTC 2016


On 01/02/16 19:12, Carlos A. P. Cunha wrote:
> Okay, but my great doubt, the problems that have different Ids?
>

If you use uidNumber & gidNumber attributes, you will get the same ID's 
everywhere

root at dc1:~# getent passwd rowland
SAMDOM\rowland:*:10000:10000:Rowland Penny:/home/rowland:/bin/bash

root at dc2:~# getent passwd rowland
SAMDOM\rowland:*:10000:10000:Rowland Penny:/home/rowland:/bin/bash

rowland at debnet:~$ getent passwd rowland
rowland:*:10000:10000:Rowland Penny:/home/rowland:/bin/bash

Is that enough proof ?

After you change the uidNumber & gidNumber attributes on the DCs and the 
smb.conf on the domain member, you will have to run 'net cache flush' on 
the domain member, you may also have to restart samba on the domain member.

You may also have to remove your users from idmap.ldb on the DCs

Rowland






More information about the samba mailing list