From 7a0e6e2b9fc2fffc10f33e90926bb7edb5198dde Mon Sep 17 00:00:00 2001 From: Jan Zeleny Date: Thu, 31 Mar 2011 08:22:22 -0400 Subject: Don't use negative cache in netgroup lookup In responder a negative cache is used to indicate that the record has not been found by previous lookup. This approach is however not applicable for netgroup lookup because the design of their lookup is a little different. This patch removes some pieces of code working with negative cache, because they didn't fuction well. Instead a new flag has been added to the positive cache. This flag indicates if the record in the cache is a record of existing netgroup or it's just a placeholder. https://fedorahosted.org/sssd/ticket/820 --- src/responder/nss/nsssrv_private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/responder/nss/nsssrv_private.h') diff --git a/src/responder/nss/nsssrv_private.h b/src/responder/nss/nsssrv_private.h index 52c4ace3..27b0e567 100644 --- a/src/responder/nss/nsssrv_private.h +++ b/src/responder/nss/nsssrv_private.h @@ -64,6 +64,7 @@ struct getent_ctx { struct sysdb_netgroup_ctx **entries; char *name; char *domain; + bool found; }; struct nss_dom_ctx { -- cgit