[Samba] [Announce] Samba 4.12.8 Available for Download

Rowland penny rpenny at samba.org
Thu Oct 8 13:13:31 UTC 2020

On 08/10/2020 13:57, Peter Eriksson via samba wrote:
>> o  Laurent Menase <laurent.menase at hpe.com>
>>    * BUG 14388: winbind: Fix a memleak.
> This is nice. I had hoped this also would fix the slow/always failing enumeration triggered by “wbinfo -u” but still no go :-)
> Our AD has 146331 users. Attempting a “wbinfo -u” will cause winbindd to use 100% CPU for about 7 minutes before calming down again.
> ‘wbinfo -u’ gives up after about a minute and returns an error “Error looking up domain users” but that doesn’t cause winbindd to stop doing whatever it’s doing :-)
> (This is on a fast machine with lots of RAM and CPU and 10G ethernet interfaces…)
> But atleast winbindd doesn’t grow forever now, it reaches around 300MB and then backs down to 140MB again. FreeBSD 11.3.
> Doing a truss (strace equiv) when it’s 100% busy it seems to be doing:
> ...
> fcntl(16,F_SETLK, ….) = 0
> fcntl(16, F_SETLKW, ….) = 0
> … (repeat) …
> Possibly on the gencache.tdb file (sometimes it’s that file that has fd 16 atleast - lsof)
> Anyway, I’ll just keep on staying away from doing ‘wbinfo -u’ so no big issue for me :-)
> - Peter

Running 'wbinfo -u' is akin to having 'winbind enum users = yes' in 
smb.conf and running  'getent passwd'. Perhaps users will now understand 
why having the 'winbind enum' lines in smb.conf is a BAD idea, the same 
goes for running 'wbinfo -u'


More information about the samba mailing list