LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   NFS user ID problem (http://www.linuxquestions.org/questions/linux-server-73/nfs-user-id-problem-896271/)

vielmaj 08-08-2011 08:36 PM

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

binary_pearl 08-08-2011 09:06 PM

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

vielmaj 08-08-2011 09:46 PM

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

mikey99 08-09-2011 06:29 AM

Did you upgrade the client or the server?

What kind of authentication are you using to map the UIDs and GIDs - NIS/LDAP/Kerberos ?

luca_ 08-09-2011 07:55 AM

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.

vielmaj 08-09-2011 10:14 AM

I upgraded both the client and the server. I am using NIS.


All times are GMT -5. The time now is 12:27 AM.