The Samba-Bugzilla – Attachment 436 Details for
Bug 1182
No-cache option not available.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Prevents net_samlogon_cache.tdb from being used at logon if no-cache option set
no-cache_check.patch (text/plain), 988 bytes, created by
John Klinger
on 2004-03-12 11:45:09 UTC
(
hide
)
Description:
Prevents net_samlogon_cache.tdb from being used at logon if no-cache option set
Filename:
MIME Type:
Creator:
John Klinger
Created:
2004-03-12 11:45:09 UTC
Size:
988 bytes
patch
obsolete
>--- 3.0.1/nsswitch/winbindd_group.c Mon Feb 2 16:39:57 2004 >+++ 3.0.1/nsswitch/winbindd_group.c Mon Feb 2 16:44:07 2004 >@@ -25,6 +25,8 @@ > #include "includes.h" > #include "winbindd.h" > >+extern BOOL opt_nocache; >+ > #undef DBGC_CLASS > #define DBGC_CLASS DBGC_WINBIND > >@@ -967,10 +969,12 @@ > goto done; > } > >- /* Treat the info3 cache as authoritative as the >- lookup_usergroups() function may return cached data. */ >- >- if ((info3 = netsamlogon_cache_get(mem_ctx, &user_sid))) { >+ /* >+ * Treat the info3 cache as authoritative as the >+ * lookup_usergroups() function may return cached data, >+ * unless the no-cache option was specified for winbindd. >+ */ >+ if (! opt_nocache && (info3 = netsamlogon_cache_get(mem_ctx, &user_sid))) { > > DEBUG(10, ("winbindd_getgroups: info3 has %d groups, %d other sids\n", > info3->num_groups2, info3->num_other_sids));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1182
:
435
| 436