Skip to content

Commit

Permalink
r22643: Don't clear cached U/SID and UG/SID entries when we want to l…
Browse files Browse the repository at this point in the history
…ogon offline.

Guenther
(This used to be commit 37f9f46)
  • Loading branch information
gd authored and Gerald (Jerry) Carter committed Oct 10, 2007
1 parent cd7ad09 commit c74c6f7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion source3/nsswitch/winbindd_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c74c6f7

Please sign in to comment.