All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Samad <alex-SGFoFqf0RKf0CCvOHzKKcA@public.gmane.org>
To: Neil Brown <neilb@suse.de>
Cc: linux-nfs@vger.kernel.org
Subject: Re: mount issue with Mac OSX and --manage-gids, client hangs
Date: Fri, 1 Aug 2008 18:59:44 +1000	[thread overview]
Message-ID: <20080801085944.GA22718@samad.com.au> (raw)
In-Reply-To: <18578.41640.740866.153235-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]

On Fri, Aug 01, 2008 at 03:44:08PM +1000, Neil Brown wrote:
> On Friday August 1, alex-SGFoFqf0RKf0CCvOHzKKcA@public.gmane.org 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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2008-08-01  8:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-31 20:47 mount issue with Mac OSX and --manage-gids, client hangs Alex Samad
     [not found] ` <20080731204701.GE26609-SGFoFqf0RKf0CCvOHzKKcA@public.gmane.org>
2008-07-31 23:11   ` Chuck Lever
     [not found]     ` <76bd70e30807311611o327339dakd2de3577608897a4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-08-01  1:47       ` Alex Samad
2008-08-01  5:44 ` Neil Brown
     [not found]   ` <18578.41640.740866.153235-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2008-08-01  7:27     ` Alex Samad
2008-08-01  8:59     ` Alex Samad [this message]
2008-08-28 15:08     ` Steve Dickson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080801085944.GA22718@samad.com.au \
    --to=alex-sgfofqf0rkf0ccvohzkkca@public.gmane.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neilb@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.