The branch, v3-0-test has been updated via 588d57653b08e305f1741b72f1bb0257e58e482c (commit) from a11835a3c01aaa6e0a59a78ff7862a8a3910705d (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test - Log ----------------------------------------------------------------- commit 588d57653b08e305f1741b72f1bb0257e58e482c Author: Bo Yang <[EMAIL PROTECTED]> Date: Mon Apr 7 09:21:42 2008 -0400 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. ----------------------------------------------------------------------- Summary of changes: source/nsswitch/winbindd_cache.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/nsswitch/winbindd_cache.c b/source/nsswitch/winbindd_cache.c index 42f5565..71e0688 100644 --- a/source/nsswitch/winbindd_cache.c +++ b/source/nsswitch/winbindd_cache.c @@ -2122,7 +2122,9 @@ do_query: /* and save it */ refresh_sequence_number(domain, False); - wcache_save_password_policy(domain, status, policy); + if (NT_STATUS_IS_OK(status)) { + wcache_save_password_policy(domain, status, policy); + } return status; } -- Samba Shared Repository