From c640ae818270b1e8d57190516587d06c007d3938 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Tue, 5 Oct 2010 11:05:08 +0200 Subject: Return NSS_STATUS_RETURN instead of NSS_STATUS_NOTFOUND NSS_STATUS_RETURN needs to be returned to glibc otherwise nested groups are not resolved by glibc. --- src/sss_client/nss_netgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sss_client') diff --git a/src/sss_client/nss_netgroup.c b/src/sss_client/nss_netgroup.c index f70283fa..edc5020f 100644 --- a/src/sss_client/nss_netgroup.c +++ b/src/sss_client/nss_netgroup.c @@ -261,7 +261,7 @@ enum nss_status _nss_sss_getnetgrent_r(struct __netgrent *result, /* no results if not found */ if ((((uint32_t *)repbuf)[0] == 0) || (replen <= NETGR_METADATA_COUNT)) { free(repbuf); - return NSS_STATUS_NOTFOUND; + return NSS_STATUS_RETURN; } sss_nss_getnetgrent_data.data = repbuf; -- cgit