From: Alex Samad Subject: Re: mount issue with Mac OSX and --manage-gids, client hangs Date: Fri, 1 Aug 2008 18:59:44 +1000 Message-ID: <20080801085944.GA22718@samad.com.au> References: <20080731204701.GE26609@samad.com.au> <18578.41640.740866.153235@notabene.brown> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Cc: linux-nfs@vger.kernel.org To: Neil Brown Return-path: Received: from mail11.tpgi.com.au ([203.12.160.161]:42468 "EHLO mail11.tpgi.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752475AbYHAI7z (ORCPT ); Fri, 1 Aug 2008 04:59:55 -0400 In-Reply-To: <18578.41640.740866.153235-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 01, 2008 at 03:44:08PM +1000, Neil Brown wrote: > On Friday August 1, alex-SGFoFqf0RKf0CCvOHzKKcA@public.gmane.org wrote: > >=20 > > I tracked it down to --manage-gids - when I remove this from > > /etc/defaults/nfs-kernel-server everything works fine. > >=20 > > 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 >=20 > Yes... I never tested that case, did I :-( >=20 > 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=20 Initial test and it is now working. I will forward this onto the debian bug >=20 > Thanks, > NeilBrown >=20 >=20 > 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=3D0; i qword_printint(f, groups[i]); > - } > + } else > + qword_printint(f, 0); > qword_eol(f); > if (groups !=3D glist) > free(groups); >=20 --=20 "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 thems= elves." - George W. Bush 10/08/2003 Washington, DC --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkiS0IAACgkQkZz88chpJ2PWEgCdEXiMLLuGSM9IK5S2mJpXN7r4 yY8AoJ4kz0LvFfkhzhCXWb+vZNTpH8sZ =a2r6 -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--