[PATCH] Make WINBIND_LIST_USERS handler asynchronous.

Steven Danneman steven.danneman at isilon.com
Wed May 28 21:12:23 GMT 2008

Attached is the companion patch to
(037b9689d9042a398cb91e4628a82fcdfa913c21), which
made handling of WINBINDD_LIST_GROUPS asynchronous.

Because most all of the list_groups code was reusable, I abstracted it,
and implemented both list_groups and list_users on top of it.

On my large test domain a "wbinfo -u" call went from 70 seconds to 30
seconds with this patch.  Plus, the parent process is no longer blocked
from receiving new requests during that time.

Steven Danneman | Software Development Engineer
Isilon Systems    P +1-206-315-7500     F +1-206-315-7501
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Make-WINBIND_LIST_USERS-handler-asynchronous.patch
Type: application/octet-stream
Size: 20423 bytes
Desc: Make-WINBIND_LIST_USERS-handler-asynchronous.patch
Url : http://lists.samba.org/archive/samba-technical/attachments/20080528/7d867802/Make-WINBIND_LIST_USERS-handler-asynchronous.obj

More information about the samba-technical mailing list