winbind: Use one queue for all domain children

Enterprise / Samba - Stefan Metzmacher [samba.org] - 23 February 2018 08:04 EST

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

7f2d45a6c2a winbind: Use one queue for all domain children
source3/winbindd/winbindd.h | 1 +
source3/winbindd/winbindd_dual.c | 127 ++++++++++++++++++++++++++++++++++++---
source3/winbindd/winbindd_util.c | 6 ++
3 files changed, 125 insertions(+), 9 deletions(-)

Upstream: gitweb.samba.org


  • Share