[Samba] issue with multiple Samba DC and uid/gid assignment.

steve steve at steve-ss.com
Sun Aug 25 01:56:06 MDT 2013


On Sat, 2013-08-24 at 23:02 +0000, dahopkins at comcast.net wrote:

> 
> 
> Notice that the group id and uid are both different. Why?

How did you provision the second DC? Are they replicating OK? When they
are, both DC's need:
idmap_ldb use:rfc2307 = Yes
in the [global] of their smb.conf

On either DC, winbind will only pull uid and gid from AD. If you want to
see all of rfc2307, you must use sssd or nslcd. Then getent passwd will
show not only the correct uidNumber and gidNumber, but also the
loginShell and unixHomeDirectory too 

Advice: don't use Test24.User as a username for debugging. Lose the
capitalisation and the dot.
HTH
Steve




More information about the samba mailing list