LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 08-31-2008, 07:46 AM   #1
Hjalte
LQ Newbie
 
Registered: May 2004
Location: Denmark
Distribution: Debian
Posts: 28

Rep: Reputation: 15
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
 
Old 09-02-2008, 01:14 PM   #2
the_ultimate_samurai
Member
 
Registered: Jan 2006
Distribution: debian-lenny
Posts: 37

Rep: Reputation: 15
try no_all_squash
 
Old 09-02-2008, 03:17 PM   #3
Hjalte
LQ Newbie
 
Registered: May 2004
Location: Denmark
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
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...
 
Old 09-08-2008, 05:07 AM   #4
Hjalte
LQ Newbie
 
Registered: May 2004
Location: Denmark
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
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.
 
  


Reply

Tags
nfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restrict users / groups and better secure NFS themadatter Linux - Networking 8 06-30-2008 08:10 PM
Configuring users for NFS on an heterogeneous network crisostomo_enrico Solaris / OpenSolaris 2 08-24-2007 02:03 AM
NFS: synchronize users manually: setuid? zoubidoo Linux - Networking 8 01-01-2007 09:58 AM
Multiple users mounting NFS share Vincent_Vega Linux - Networking 4 08-01-2004 10:04 AM
NFS Client hang squashes all disk I/O IcarusLR Linux - Networking 0 02-13-2003 12:21 PM


All times are GMT -5. The time now is 01:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration