[SCM] Samba Shared Repository - branch v3-2-stable updated -
release-3-2-0pre2-766-ga76356a
Karolin Seeger
kseeger at samba.org
Mon Apr 21 14:40:31 GMT 2008
The branch, v3-2-stable has been updated
via a76356a717fd7b340ff93f8e7a43aff0827ed25d (commit)
from 21b5659cf8b541dc81cf7141e58e7a481a148b96 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable
- Log -----------------------------------------------------------------
commit a76356a717fd7b340ff93f8e7a43aff0827ed25d
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.
(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 Shared Repository
More information about the samba-cvs
mailing list