summaryrefslogtreecommitdiff
path: root/nss/group.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/group.c')
-rw-r--r--nss/group.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nss/group.c b/nss/group.c
index beb731d..abb16e5 100644
--- a/nss/group.c
+++ b/nss/group.c
@@ -123,12 +123,13 @@ static __thread TFILE *grentfp;
enum nss_status _nss_ldap_setgrent(int UNUSED(stayopen))
{
- NSS_SETENT(grentfp,NSLCD_ACTION_GROUP_ALL);
+ NSS_SETENT(grentfp);
}
enum nss_status _nss_ldap_getgrent_r(struct group *result,char *buffer,size_t buflen,int *errnop)
{
- NSS_GETENT(grentfp,read_group(grentfp,result,buffer,buflen,errnop));
+ NSS_GETENT(grentfp,NSLCD_ACTION_GROUP_ALL,
+ read_group(grentfp,result,buffer,buflen,errnop));
}
enum nss_status _nss_ldap_endgrent(void)