Only cache password policy results that worked, otherwise we
commita76356a717fd7b340ff93f8e7a43aff0827ed25d
authorBo Yang <boyang@novell.com>
Mon, 7 Apr 2008 13:51:42 +0000 (7 09:51 -0400)
committerKarolin Seeger <kseeger@samba.org>
Mon, 21 Apr 2008 14:40:54 +0000 (21 16:40 +0200)
treeb2198c7c1344a71466a0639dd4a325585072db67
parent21b5659cf8b541dc81cf7141e58e7a481a148b96
Only cache password policy results that worked, otherwise we
cannot login until the cache expires even if a connection
to a DC has been restored.
(cherry picked from commit 8671f9767d7d93a86712741303d6046937c3aae8)
source/winbindd/winbindd_cache.c