summaryrefslogtreecommitdiffstats
path: root/usr.sbin/gssd
diff options
context:
space:
mode:
authorjpaetzel <jpaetzel@FreeBSD.org>2015-09-26 16:30:16 +0000
committerjpaetzel <jpaetzel@FreeBSD.org>2015-09-26 16:30:16 +0000
commitbd730ad2f48447139797b24e68699dfe55b4231f (patch)
treece59b66adc387a8b72a9d6008897f0761d1ce677 /usr.sbin/gssd
parent3508a4fb1f83b62bce2c8a3df7942f5cd6c73919 (diff)
downloadFreeBSD-src-bd730ad2f48447139797b24e68699dfe55b4231f.zip
FreeBSD-src-bd730ad2f48447139797b24e68699dfe55b4231f.tar.gz
Increase group limit for kerberized NFSv4
PR: 202659 Submitted by: matthew.l.dailey@dartmouth.edu Reviewed by: rmacklem dfr MFC after: 1 week Sponsored by: iXsystems
Diffstat (limited to 'usr.sbin/gssd')
-rw-r--r--usr.sbin/gssd/gssd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/gssd/gssd.c b/usr.sbin/gssd/gssd.c
index 2540161..e85dfd7 100644
--- a/usr.sbin/gssd/gssd.c
+++ b/usr.sbin/gssd/gssd.c
@@ -751,8 +751,8 @@ gssd_pname_to_uid_1_svc(pname_to_uid_args *argp, pname_to_uid_res *result, struc
buflen_hint = buflen;
}
if (pw) {
- int len = NGRPS;
- int groups[NGRPS];
+ int len = NGROUPS;
+ int groups[NGROUPS];
result->gid = pw->pw_gid;
getgrouplist(pw->pw_name, pw->pw_gid,
groups, &len);
OpenPOWER on IntegriCloud