--- utils/mountd/cache.c.orig 2011-06-01 19:18:28.866799186 +0400 +++ utils/mountd/cache.c 2011-06-01 19:18:40.529799186 +0400 @@ -148,7 +148,8 @@ static void auth_unix_gid(FILE *f) return; groups_len = ngroups = INITIAL_MANAGED_GROUPS; - } + } else + ngroups = groups_len; if (readline(fileno(f), &lbuf, &lbuflen) != 1) return;