some groups showing as nobody but others are correct

J. Bruce Fields bfields at fieldses.org
Sat Feb 9 18:55:36 EST 2008


On Sat, Feb 09, 2008 at 01:06:56PM -0800, Robert Hoffman wrote:
> 
> Not possible to have a silly question, when dealing with an unknown that I represent!
> 
> But yes, my idmapd.conf on both server and client have the same (and correct) domain specified.

Well, to me that sounds like a bug, then, and not one I recall seeing.
So, is there a chance you could gather together the details?:

	- nfs-utils version
	- kernel version
	- steps to reproduce, output from ls -l, whatever

And a network trace covering the time from the mount to the ls -l (or
whatever) showing the incorrectly mapped group might also help.  (Just
run tcpdump -s0 -wtmp.pcap, then mail in tmp.pcap.)

--b.

> 
> Bob
> 
> ----- Original Message ----
> From: Trond Myklebust <trond.myklebust at fys.uio.no>
> To: Robert Hoffman <robert_hoffman at yahoo.com>
> Cc: nfsv4 at linux-nfs.org
> Sent: Saturday, February 9, 2008 1:05:19 PM
> Subject: Re: some groups showing as nobody but others are correct
> 
> 
> On 
> Sat, 
> 2008-02-09 
> at 
> 11:42 
> -0800, 
> Robert 
> Hoffman 
> wrote:
> > 
> Thanks 
> for 
> the 
> response!
> > 
> > 
> Yes, 
> groups 
> are 
> showing 
> fine 
> on 
> the 
> server.  
> Also, 
> on 
> clients 
> that 
> mount 
> the 
> partitions 
> with 
> my 
> old 
> nfs 
> mounts 
> show 
> groups 
> fine.  
> I'm 
> using 
> NIS 
> to 
> distribute 
> group 
> names 
> so 
> everything 
> is 
> synchronized 
> to 
> a 
> common 
> database.  
> > 
> > 
> All 
> my 
> GID's 
> are 
> in 
> the 
> 2000 
> range, 
> nothing 
> even 
> close 
> to 
> the 
> 65k 
> or 
> above.  
> Also, 
> my 
> longest 
> group 
> name 
> (I 
> assume 
> you 
> mean 
> string 
> length) 
> is 
> working, 
> as 
> well 
> as 
> short 
> ones.  
> I've 
> got 
> short 
> and 
> medium 
> ones 
> not 
> working.
> > 
> > 
> I 
> did 
> the 
> following 
> in 
> my 
> server 
> exports.
> > 
> /home  
>  
> 172.17.16.0/16(rw,sync) 
> > 
> /exports 
> 172.17.16.0/16(rw,sync) 
> > 
> /nfs4  
>   
>   
>   
>   
>   
>   
>   
>   
>  
> gss/krb5(rw,sync,nohide,fsid=0)
> > 
> /nfs4/home  
>   
>   
>   
>   
>   
>   
> gss/krb5(rw,sync,nohide)
> > 
> /nfs4/exports  
>   
>   
>   
>   
>  
> gss/krb5(rw,sync,nohide)
> > 
> > 
> On 
> the 
> client, 
> I 
> have 
> the 
> following;
> > 
> nfs:/home  
>   
>  
> /home  
>   
> nfs  
> rw,rsize=8192,wsize=8192  
> 0 
> 0
> > 
> nfs:/exports/shared  
>   
>  
> /shared  
>   
> nfs  
> rw,rsize=8192,wsize=8192  
> 0 
> 0
> > 
> nfs:/exports/apps  
>   
>  
> /apps  
>   
> nfs  
> rw,rsize=8192,wsize=8192  
> 0 
> 0
> > 
> nfs4:/  
>   
>   
>   
>   
>   
>   
>   
>   
> /nfs4  
>   
>   
>   
>   
>   
>   
>   
>   
>  
> nfs4  
>   
> rw,sec=krb5 
> 0 
> 0
> > 
> > 
> So 
> I 
> can 
> see 
> both 
> the 
> normal 
> mounts 
> on 
> my 
> client 
> with 
> all 
> groups 
> intact, 
> and 
> I 
> can 
> see 
> the 
> nfs4 
> mount 
> with 
> the 
> nobody 
> mapped 
> groups.
> 
> Silly 
> question: 
> have 
> you 
> checked 
> that 
> /etc/idmapd.conf 
> has 
> the 
> same
> value 
> for 
> 'Domain' 
> on 
> both 
> client 
> and 
> server?
> 
> Cheers
>   
> Trond
> 
> _______________________________________________
> NFSv4 
> mailing 
> list
> NFSv4 at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4
> 
> 
> 
> _______________________________________________
> NFSv4 mailing list
> NFSv4 at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4


More information about the NFSv4 mailing list