summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/responder/nss/nsssrv_cmd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
index 7ec0b7c0..2a2a16b8 100644
--- a/src/responder/nss/nsssrv_cmd.c
+++ b/src/responder/nss/nsssrv_cmd.c
@@ -547,6 +547,9 @@ errno_t check_cache(struct nss_dom_ctx *dctx,
DEBUG(SSSDBG_CRIT_FAILURE, ("Error checking cache: %d\n", ret));
goto error;
}
+ } else {
+ /* No replies */
+ ret = ENOENT;
}
/* EAGAIN (off band) or ENOENT (cache miss) -> check cache */