Hi This is the patch I got from the linux-nfs mailing list, I have compiled with the patch ( had to munge it a bit) and it fixes the problem
Thanks
----- Forwarded message from Alex Samad <[EMAIL PROTECTED]> -----
From: Alex Samad <[EMAIL PROTECTED]>
To: Neil Brown <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: mount issue with Mac OSX and --manage-gids, client hangs
Mail-Followup-To: Neil Brown <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
On Fri, Aug 01, 2008 at 03:44:08PM +1000, Neil Brown wrote:
> On Friday August 1, [EMAIL PROTECTED] wrote:
> >
> > I tracked it down to --manage-gids - when I remove this from
> > /etc/defaults/nfs-kernel-server everything works fine.
> >
> > Note though, the UID's, GIDs are not synced between the linux box and
> > the mac box. so the 2 users I have on the mac box uid 501 & 502, do not
> > exist on the nas box
>
> Yes... I never tested that case, did I :-(
>
> This patch should fix it. Are you able to compile a new nfs-utils
> with this patch applied and test the mountd from there?
Hi
Initial test and it is now working. I will forward this onto the debian bug
>
> Thanks,
> NeilBrown
>
>
> diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c
> index f555dcc..48d737b 100644
> --- a/utils/mountd/cache.c
> +++ b/utils/mountd/cache.c
> @@ -158,7 +158,8 @@ void auth_unix_gid(FILE *f)
> qword_printint(f, ngroups);
> for (i=0; i<ngroups; i++)
> qword_printint(f, groups[i]);
> - }
> + } else
> + qword_printint(f, 0);
> qword_eol(f);
> if (groups != glist)
> free(groups);
>
--
"Whether they be Christian, Jew, or Muslim, or Hindu, people have heard the
universal call to love a neighbor just like they'd like to be called
themselves."
- George W. Bush
10/08/2003
Washington, DC
----- End forwarded message -----
--
"As you know, these are open forums, you're able to come and listen to what I
have to say."
- George W. Bush
10/28/2003
Washington, DC
signature.asc
Description: Digital signature

