[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-674-g8671f97
Jim McDonough
jmcd at samba.org
Mon Apr 7 13:52:18 GMT 2008
The branch, v3-2-test has been updated
via 8671f9767d7d93a86712741303d6046937c3aae8 (commit)
from df8c100c2b53575a0d425a2daf52e2d59904746a (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 8671f9767d7d93a86712741303d6046937c3aae8
Author: Bo Yang <boyang at novell.com>
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.
-----------------------------------------------------------------------
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 0f8bd49..e4b0a53 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 Shared Repository
More information about the samba-cvs
mailing list