public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: Neil Brown <neilb@suse.de>
Cc: Alex Samad <alex-SGFoFqf0RKf0CCvOHzKKcA@public.gmane.org>,
	linux-nfs@vger.kernel.org
Subject: Re: mount issue with Mac OSX and --manage-gids, client hangs
Date: Thu, 28 Aug 2008 11:08:46 -0400	[thread overview]
Message-ID: <48B6BF7E.9090503@RedHat.com> (raw)
In-Reply-To: <18578.41640.740866.153235-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>



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?
> 
> 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);
Committed...

steved.

      parent reply	other threads:[~2008-08-28 15:14 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
2008-08-28 15:08     ` Steve Dickson [this message]

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=48B6BF7E.9090503@RedHat.com \
    --to=steved@redhat.com \
    --cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox