summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-04-26 11:12:35 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-05-02 08:10:17 -0400
commit26d72997b0a97a24015b776e41a430e8c874995f (patch)
tree39dbac9ec6431e79b9ecbb737b95e99b73385759 /src
parent3c6a4eead4e9186d0ea2e9ac7092f1a7a9e0bf6d (diff)
downloadsssd-26d72997b0a97a24015b776e41a430e8c874995f.tar.gz
sssd-26d72997b0a97a24015b776e41a430e8c874995f.tar.xz
sssd-26d72997b0a97a24015b776e41a430e8c874995f.zip
NSS: Check return code of sss_mmap_cache_gr_store
Diffstat (limited to 'src')
-rw-r--r--src/responder/nss/nsssrv_cmd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
index 2c9564579..26179e46e 100644
--- a/src/responder/nss/nsssrv_cmd.c
+++ b/src/responder/nss/nsssrv_cmd.c
@@ -1900,6 +1900,11 @@ static int fill_grent(struct sss_packet *packet,
fullname.len + pwfield.len,
rsize - STRS_ROFFSET -
fullname.len - pwfield.len);
+ if (ret != EOK && ret != ENOMEM) {
+ DEBUG(SSSDBG_OP_FAILURE,
+ ("Failed to store group %s(%s) in mmap cache!",
+ name.str, domain));
+ }
}
continue;