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)
commit583b7ed6595e85e8366632dd0ab5dbfcdc1838e6
tree18bf61f8a64f6b9a07510c350bf82119b3c3a7e9
parent9f38c321d0ebfb12be2cd6162659f8cb25fa8f5b
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.
(This used to be commit 05c04cfd2526b8b9a82916b5dffc18bf27c3f198)
source3/nsswitch/wb_common.c