Hi

Sorry this was mean for bug 492827


Alex

On Fri, Aug 01, 2008 at 07:00:20PM +1000, Alex Samad wrote:
> Hi
> 
> Below is email from the linux-nfs mailing list with a patch to fix
> 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 -----
> 
> -- 
> Good day to deal with people in high places; particularly lonely stewardesses.



-- 
Many phenomena - wars, plagues, sudden audits - have been advanced as
evidence for the hidden hand of Satan in the affairs of Man, but whenever
students of demonology get together the M25 London orbital motorway is
generally agreed to be among the top contenders for exhibit A.
        -- (Terry Pratchett & Neil Gaiman, Good Omens)

Attachment: signature.asc
Description: Digital signature

Reply via email to