winbind: Use one queue for all domain children
authorStefan Metzmacher <metze@samba.org>
Wed, 14 Feb 2018 14:04:01 +0000 (15:04 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 23 Feb 2018 08:04:23 +0000 (09:04 +0100)
commit7f2d45a6c2a88dd8833fc66d314ec21507dd52c3
tree4c19915d152ecd36abc6b58b24f748dc0a41122e
parentb518cb0597d269002105644302c58ca8f9f0f717
winbind: Use one queue for all domain children

If we have multiple domain children, it's important
that the first idle child takes over the next waiting request.

Before we had the problem that a request could get stuck in the
queue of a busy child, while later requests could get served fine by
other children.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13292

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Feb 23 09:04:23 CET 2018 on sn-devel-144
source3/winbindd/winbindd.h
source3/winbindd/winbindd_dual.c
source3/winbindd/winbindd_util.c