The branch, v3-2-ctdb has been updated via 010f9ab44cf3bfd9985f9cbee2d195fa45ef635c (commit) from 0f287cd500173ba8676e30d9c839c4368a6545e9 (commit)
http://gitweb.samba.org/?p=tridge/samba-ctdb.git;a=shortlog;h=v3-2-ctdb - Log ----------------------------------------------------------------- commit 010f9ab44cf3bfd9985f9cbee2d195fa45ef635c Author: Bo Yang <[EMAIL PROTECTED]> Date: Mon Apr 7 09:51: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. (cherry picked from commit 8671f9767d7d93a86712741303d6046937c3aae8) ----------------------------------------------------------------------- Summary of changes: source/winbindd/winbindd_cache.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/winbindd/winbindd_cache.c b/source/winbindd/winbindd_cache.c index f653172..ddb0ab3 100644 --- a/source/winbindd/winbindd_cache.c +++ b/source/winbindd/winbindd_cache.c @@ -2232,7 +2232,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-CTDB repository