summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_domain.c
AgeCommit message (Collapse)AuthorFilesLines
2008-05-22Make WINBINDD_LIST_GROUPS handler asynchronous.Steven Danneman1-0/+4
Previously WINBINDD_LIST_GROUPS requests (ex: wbinfo -g) were handled by the winbindd parent process in a sequential fashion. This patch, delegates the work to the winbindd children so that the request is handled much faster in large domain topologies, and doesn't block the parent from receiving new requests. The core group enumeration and conversion that was handled in winbindd_list_groups() has been moved into winbindd_dual_list_groups() to be done by the child. The parent winbindd_list_groups() simply calls each of the children asynchronously. listgroups_recv() aggregates the final group list that will be returned to the client and tracks how many of the children have returned their lists. The domain name of the child is passed back through the callbacks to be used in debugging messages. There are also several fixes to typos in various comments. (This used to be commit 037b9689d9042a398cb91e4628a82fcdfa913c21)
2007-12-14winbindd: move domain child specific stuff into its own fileStefan Metzmacher1-0/+111
metze (This used to be commit 075d315e0f72d506b70040da10940e4af131b4e2)