LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 08-08-2011, 08:36 PM   #1
vielmaj
LQ Newbie
 
Registered: Jun 2009
Posts: 24
Blog Entries: 1

Rep: Reputation: 0
NFS user ID problem


Hello,

I upgraded from Debian Squeeze to Ubuntu 11.04. I did a fresh install and transferred the user information from the old system to the new system (/etc/passwd, /etc/shadow).

If I ssh into the server and run ls -l I get the following.

total 19512
drwxr-xr-x 8 vielmaj users 928 2011-07-31 16:55 BaTiO3
drwxr-xr-x 3 vielmaj users 120 2011-06-22 17:36 BiFeO3
drwxr-xr-x 2 vielmaj users 568 2011-07-28 08:36 bin
drwxr-xr-x 9 vielmaj users 312 2011-06-22 17:38 BTO
drwxr-xr-x 6 vielmaj users 160 2011-04-01 14:24 BTOFit

If I ssh into a client and run ls -l I get this

total 19512
drwxr-xr-x 8 4294967294 4294967294 928 2011-07-31 16:55 BaTiO3
drwxr-xr-x 3 4294967294 4294967294 120 2011-06-22 17:36 BiFeO3
drwxr-xr-x 2 4294967294 4294967294 568 2011-07-28 08:36 bin
drwxr-xr-x 9 4294967294 4294967294 312 2011-06-22 17:38 BTO
drwxr-xr-x 6 4294967294 4294967294 160 2011-04-01 14:24 BTOFit

I am not sure where to begin.

Thanks,

Jason
 
Old 08-08-2011, 09:06 PM   #2
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
Probably the first thing to try is changing the owner of files like this:

Code:
(as root):
chown -R vielmaj:users /whatever_directory/

where -R means recursive (it will change all files and directories under the parent).
But since the groups are showing up 2^32-2 makes me think that the chown may not work. Try it out and post what happens.

--Shaun
 
Old 08-08-2011, 09:46 PM   #3
vielmaj
LQ Newbie
 
Registered: Jun 2009
Posts: 24

Original Poster
Blog Entries: 1

Rep: Reputation: 0
I have tried that on the client machine. I get the following for all the files.

chown: changing ownership of `BTO/GGA_Database/RhomDisp/Fit198': Invalid argument
 
Old 08-09-2011, 06:29 AM   #4
mikey99
Member
 
Registered: Nov 2008
Location: UK
Distribution: RHEL, Fedora
Posts: 68

Rep: Reputation: 12
Did you upgrade the client or the server?

What kind of authentication are you using to map the UIDs and GIDs - NIS/LDAP/Kerberos ?
 
Old 08-09-2011, 07:55 AM   #5
luca_
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Rep: Reputation: 0
Did you switch from debian to ubunto on the server or on the client?!

Looks like the client uids/gids are different than on the server.
 
Old 08-09-2011, 10:14 AM   #6
vielmaj
LQ Newbie
 
Registered: Jun 2009
Posts: 24

Original Poster
Blog Entries: 1

Rep: Reputation: 0
I upgraded both the client and the server. I am using NIS.
 
  


Reply

Tags
nfs, nis, userid



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Facing problem while setting user's quota on the nfs mounted folder . ilu_nishant Linux - Newbie 2 09-21-2009 06:25 PM
user's home directory on NFS server--what happens when user logs in from 2 computers? Mountain Linux - Networking 1 03-18-2009 03:35 PM
LXer: Run your NFS server in the user address space with NFS-GANESHA LXer Syndicated Linux News 0 11-27-2008 04:40 AM
Profile Registered User Status: Online Posts: 16 NFS Mount problem michaelsr Fedora 0 12-07-2006 10:01 AM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration