[Samba] getent not returning users/groups

Christopher Cox chriscox at endlessnow.com
Fri Feb 25 22:49:26 UTC 2022


On 2/24/22 19:02, 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

Try adding the following to your smb.conf (global):

         winbind enum users = yes
         winbind enum groups = yes



More information about the samba mailing list