summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv_private.h
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-03-31 08:22:22 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-04-25 08:06:34 -0400
commit7a0e6e2b9fc2fffc10f33e90926bb7edb5198dde (patch)
tree80bac9f6b951366923e29010117d633208b6ffda /src/responder/nss/nsssrv_private.h
parent8cf1b4183577237d965068d70cd06bd0716aea84 (diff)
downloadsssd_unused-7a0e6e2b9fc2fffc10f33e90926bb7edb5198dde.tar.gz
sssd_unused-7a0e6e2b9fc2fffc10f33e90926bb7edb5198dde.tar.xz
sssd_unused-7a0e6e2b9fc2fffc10f33e90926bb7edb5198dde.zip
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
Diffstat (limited to 'src/responder/nss/nsssrv_private.h')
-rw-r--r--src/responder/nss/nsssrv_private.h1
1 files changed, 1 insertions, 0 deletions
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 {