[Samba] getent not returning users/groups

Andrew Bartlett abartlet at samba.org
Fri Feb 25 01:17:19 UTC 2022


On Thu, 2022-02-24 at 17:02 -0800, Greg Sloop <gregs--- via samba
wrote:
> wbinfo -u
> or
> wbinfo -g
> return users and groups from the AD (this is run from the member
> server)
> 
> But getent group/passwd doesn't return any of the groups/users in AD.
> More specific queries for a single user or group returns nothing -
> but no
> error either.
> 
> nsswitch.conf contains
> ---
> passwd:         compat winbind systemd
> group:          compat winbind systemd
> ---
> 
> Does someone have any idea what's wrong? (Or where to really start to
> figure it out?)

winbind enum users/groups in smb.conf, but that wouldn't explain the
individual lookup failing, so perhaps idmap?

Andrew,

-- 
Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba

Samba Development and Support, Catalyst IT - Expert Open Source
Solutions




More information about the samba mailing list