[Samba] samba 4.0.6 getent group

steve steve at steve-ss.com
Tue Jun 25 01:35:15 MDT 2013

On Mon, 2013-06-24 at 11:48 -0700, smb l. ist wrote:
> Hello all listies.
> I've got samba4.0.6 running on FreeBSD 9.1.
> Joined W2K12 domain as member server.
> running getent group I noticed it takes a long time to resolve groups.
> The result is correct, but it is inordinately long.
> With 3.6.13 on FreeBSD 9.1 the return is nearly instantaneous.

Do you ever need to list _all_ the groups? If not then set:
 winbind enum groups = No
and then query the groups singly:
getent group name.of.group

Also, you could cache them. I'm not sure but nscd may work with winbind.

More information about the samba mailing list