[Samba] getent not displaying builtin groups or users

Rowland Penny rpenny at samba.org
Thu Nov 3 18:27:29 UTC 2016


On Thu, 3 Nov 2016 18:18:56 +0000
niya levi via samba <samba at lists.samba.org> wrote:


> still not quite there,
> 
> on the dc's i can use getent and id on the domain users
> 
> i am not able to list all the domain users or group only individual
> users or groups that i request,
> 
> is this how it getent normally works on a domain controller,

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



More information about the samba mailing list