[Samba] getent not displaying builtin groups or users
rpenny at samba.org
Fri Nov 4 10:24:29 UTC 2016
On Fri, 4 Nov 2016 10:05:15 +0000
niya levi via samba <samba at lists.samba.org> wrote:
> hi everyone
> > Yes, but you can add these two lines to smb.conf:
> > winbind enum users = yes
> > winbind enum groups = yes
> > This will allow getent to list all users and groups, but is not
> > recommended if you have a lot of users.
> > Rowland
> thanks the dc's now lists all the domain users and groups.
> the domain users gid is correct on both dc's
> the uid for nfs-mgr which i changed on dc1 to 10005 are different
> dc1 shows
> dc2 shows
> i use osync to replicate between the dc's, should the uid be in sync ?
Yes, but nothing to do with osync or sysvol. If you give a user a
uidNumber, it should be used instead of the xidNumber (10005 =
uidNumber, 3000022 = xidNumber) and the uidNumber should be replicated
to all DCs. Try running 'net cache flush' on dc2, this may fix your
problem, if it doesn't, check on each DC that replication is working.
More information about the samba