LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   NFS squashes all users (https://www.linuxquestions.org/questions/linux-server-73/nfs-squashes-all-users-666639/)

Hjalte 08-31-2008 07:46 AM

NFS squashes all users
 
Hi.
I have a NFS server running on my server. It shares some mountpoints to a single host (my laptop)
My old laptop broke down, so i have bought a new one, but on this new laptop, when i mount the nfs share, my user is getting squashed to nouser:nogroup.

I have made sure that the uid:gid's are the same on both my server and laptop.
I've tried setting the anonuid and anongid to my wanted user, but the user is still getting squashed.

So i really have no clue about what to do.

My server configuration is debian etch with these versions of nfs:
nfs-common: 1.1.0.10
nfs-kernel-server: 1.1.0.10
portmap 5-26

I'm running kernel version 2.6.24, with nfs compiled in, of course and modules
nfs, nfsd, exportfs, lockd, nfs_acl

The exportsfile is this, where hjalte is defined i /etc/hosts
/home/hjalte hjalte(rw,sync,no_subtree_check)



The laptop is running debian unstable with
nfs-common 1.1.3
portmap 6.0
kernel version 2.6.26


Thank you very much for your time :)

the_ultimate_samurai 09-02-2008 01:14 PM

try no_all_squash

Hjalte 09-02-2008 03:17 PM

Hi i tried it, and it didn't work. I tried purging the configuration files on the server, and reinstall the whole shebang, but it didn't work out.

I'm thinking that it might be a problem with the client, not reporting the username/uid right... I'll try it out, maybe downgrading nfs-common might work out...

Hjalte 09-08-2008 05:07 AM

The no_all_squash didn't work out.
I tried upgrading the kernel on the server to 2.6.26, as it is the same as on my client, but that didn't work out.

Lastly i tried installing unfs3 as the server application, instead of the kernel server, and after that, I haven't had any problems with users getting squashed.


All times are GMT -5. The time now is 10:00 AM.