git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
232c5c6
)
r22643: Don't clear cached U/SID and UG/SID entries when we want to logon offline.
author
Günther Deschner
<gd@samba.org>
Thu, 3 May 2007 11:44:18 +0000
(11:44 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:19:52 +0000
(12:19 -0500)
Guenther
source/nsswitch/winbindd_cache.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_cache.c
b/source/nsswitch/winbindd_cache.c
index e1fbfe3bc28b4ddeed475907ce82f666feeb7b75..86e57cb07c21dda972d2f2b68b1c3781287cabdd 100644
(file)
--- a/
source/nsswitch/winbindd_cache.c
+++ b/
source/nsswitch/winbindd_cache.c
@@
-2162,7
+2162,14
@@
void wcache_invalidate_samlogon(struct winbindd_domain *domain,
NET_USER_INFO_3 *info3)
{
struct winbind_cache *cache;
-
+
+ /* dont clear cached U/SID and UG/SID entries when we want to logon
+ * offline - gd */
+
+ if (lp_winbind_offline_logon()) {
+ return;
+ }
+
if (!domain)
return;