summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-03-09 10:22:17 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-03-09 14:14:35 -0500
commit17c440cc709467ffb465972a67094351bc445a24 (patch)
tree608bd82f15525c4a43a05295f0f095881b3ffb48 /src
parent1008001f34abb42df75f840db17f14a83f0c21d4 (diff)
downloadsssd-17c440cc709467ffb465972a67094351bc445a24.tar.gz
sssd-17c440cc709467ffb465972a67094351bc445a24.tar.xz
sssd-17c440cc709467ffb465972a67094351bc445a24.zip
Change state of hash entry if netgroup cannot be parsed
Diffstat (limited to 'src')
-rw-r--r--src/responder/nss/nsssrv_netgroup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv_netgroup.c b/src/responder/nss/nsssrv_netgroup.c
index 6d74330d..dbee7f2d 100644
--- a/src/responder/nss/nsssrv_netgroup.c
+++ b/src/responder/nss/nsssrv_netgroup.c
@@ -457,6 +457,8 @@ static errno_t lookup_netgr_step(struct setent_step_ctx *step_ctx)
if (ret != EOK) {
DEBUG(1, ("Failed to convert results into entries\n"));
+ netgr->ready = true;
+ set_netgr_lifetime(step_ctx->nctx->neg_timeout, step_ctx, netgr);
return EIO;
}