NFS4 mount showing wrong ownership
Okay... I have an NFS4 server running. I have a data partition that is being "shared" through NFS4 as well as through Samba. Samba is joined at the hip with Active Directory through winbind & nsswitch. I'm also using POSIX acls on the filesystem to supplement the usual user+group+everyone bits.
However, I'm having a wierd problem. When I mount the export, I see the files properly, but the ownership is wrong.
Take a look:
drwxrwxr-x 4 4294967294 4294967294 96 2006-07-26 17:45 clipart
drwxrwxr-x 5 4294967294 4294967294 120 2006-08-04 12:12 docs
drwxrwxr-x 9 4294967294 4294967294 232 2006-09-04 01:39 ftp
drwxrwxr-x 9 4294967294 4294967294 216 2006-09-06 14:25 homes
drwxrwxr-x 4 4294967294 4294967294 224 2006-09-04 01:48 public
The owning user should be root, and the owning group should be netadmins.
I have matched the users and groups (with matching uids and gids) on the workstation I'm mounting it from. I also mounted this share locally (on the server) and got the same results, so I know it isn't the workstation.
Thinking that POSIX acls might be to blame, I reset (removed extra acls) several of the folders in this partition, and remounted the NFS4 export, and got the same results. Every file, regardless of its true ownership, shows this.
Now the odd thing is, the security permissions seem to be coming across right. Meaning, on the groups that are owned by netadmins, I can write to (I want the export rw), like I should be able, and I cannot write to those that I don't have ownership to. In other words, this UID/GID thing appears to be display only.
I then realized that idmapd wasn't running, so I started it and remounted the NFS4 export. Now the files show owned by "nobody" and "nobody" (user, group, respectively).
However, as the data is important, I don't want to create file corruption, so I want to fix this 'bug' if I can.
Last edited by tisource; 09-11-2006 at 01:20 PM.