r7148: Fix #2736: winbind race condition with detecting idle clients
authorJim McDonough <jmcd@samba.org>
Tue, 31 May 2005 18:36:38 +0000 (18:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:57:03 +0000 (10:57 -0500)
commit05c04cfd2526b8b9a82916b5dffc18bf27c3f198
tree0b58ffd2a0fed5633d91b4e130e7bac3105061f1
parentef80a49a858d7d81d427c7bac71fdac4fc0d1bd6
r7148: Fix #2736: winbind race condition with detecting idle clients

winbind idle connection closing logic is getting invoked under high loads for
clients which may already have commands in the pipe.  This race condition
causes clients to fail with NSS_STATUS_UNAVAIL sometimes.  We now retry several
times hoping (still not guaranteed, though) it will work.
source/nsswitch/wb_common.c