Re: mount issue with Mac OSX and --manage-gids, client hangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

I will give it a try

> 
> 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);
> 

-- 
ink, n.:
	A villainous compound of tannogallate of iron, gum-arabic,
	and water, chiefly used to facilitate the infection of
	idiocy and promote intellectual crime.
		-- H. L. Mencken

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux