[Samba] getent not returning users/groups

Michael Evans michael.evans at nor-consult.com
Sun Feb 27 21:48:46 UTC 2022

> -----Original Message-----
> From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of
> Rowland Penny via samba
> Sent: Saturday, February 26, 2022 12:19 AM
> To: samba at lists.samba.org
> Subject: Re: [Samba] getent not returning users/groups
> On Fri, 2022-02-25 at 17:01 -0800, Michael Evans via samba wrote:
> > All groups and all users must have GID and UID entries if they show
> > up in the passwd / groups nss list.
> Only if you are using the winbind 'ad' idmap backend, which Gregory
> isn't.
> >
> > Please ensure that at least the user's unix UID and primary group
> > unix Group ID are set via some method.
> Why ?

It was my belief this was required for the users and groups to show up; but
that one method for IDs being assigned were the other, non-AD storage, local
ID storage configurations.

> >
> > There probably should be a wiki page dedicated to just this issue.
> There is.
> Also, the 'enum' lines are only required for troubleshooting purposes
> (such as this) and shouldn't be in a production smb.conf.

How _should_ the unix IDs for users and groups that are part of the domain
be exposed to the host system outside of Samba?  My understanding is that
this was the only way; so I've clearly misunderstood the documentation.

More information about the samba mailing list