Bug 10301 - Wbinfo-u loop with too many users
Summary: Wbinfo-u loop with too many users
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Winbind (show other bugs)
Version: unspecified
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-29 14:43 UTC by Simon Fonteneau (dead mail address)
Modified: 2023-05-31 16:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fonteneau (dead mail address) 2013-11-29 14:43:41 UTC
Hello

My "wbinfo-u" gives 100% CPU and After 4 to 5 minutes it writes Error looking up domain users but the other controls of wbinfo works normally.

We work with samba 4.1.2

With a new "provisioning" (with database empty), "wbinfo -u" works correctly.

sambatool dbcheck the command does not reconsider error.

We have 1500 users and 500 PC

------------------------------------------------------

BUG TEST: 


I install a new server and I made a new provisioning.

The "wbinfo-u" command works correctly.

I then import 1400 users with the command :

"samba-tool user add $login --random-password"

Then, i retries the command "wbinfo -u".
After 4 to 5 minutes it writes Error looking up domain users but the other controls of wbinfo works normally.

I put the log in the smb.conf at 5.

In the logs I see all user:

--------------------------------------------------------------------------------------
        cmd_list_user_recv_user_list called
[2013/11/28 08:05:33.884724,    5]  ../source4/winbind/wb_cmd_list_users.c:145(cmd_list_users_recv_user_list)
        Appending user 'sfonteneau'
        cmd_list_user_recv_user_list called
[2013/11/28 08:05:34.884725,    5]  ../source4/winbind/wb_cmd_list_users.c:145(cmd_list_users_recv_user_list)
        Appending user 'ntedesco'
--------------------------------------------------------------------------------------

But "wbinfo -u" makes a loop to the infinite and always shows the same users.

wbinfo-g works correctly.

Other Info:
I work with Proxmox 3.1 with VM.
In VM, Samba is installed on a ubuntu 13.4


thank you
Comment 1 Simon Fonteneau (dead mail address) 2013-11-30 14:07:49 UTC
With 800 users wbinfo-u works.
With 1500 users " "wbinfo -u" and "getent passwd" " does not work.

getent passwd
Comment 2 Arvid Requate 2023-05-31 16:30:54 UTC
Might be fixed with Bug 15366.