[Samba] getent not returning users/groups

Gregory Sloop gregs at sloop.net
Fri Feb 25 22:56:47 UTC 2022

Already there, and still fails with specific getent searches (for a particular user or group.)
Thanks tho.

> 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