mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r22643: Don't clear cached U/SID and UG/SID entries when we want to logon offline.
Guenther
This commit is contained in:
parent
232c5c6557
commit
37f9f466fd
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user