1
0
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:
Günther Deschner 2007-05-03 11:44:18 +00:00 committed by Gerald (Jerry) Carter
parent 232c5c6557
commit 37f9f466fd

View File

@ -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;