Re: 2003 R2, Services For Unix, NFS Server



LOL


"Brendan Simon" <Brendan Simon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F9B7A0CF-6276-4FAC-86BD-275C013FB6DB@xxxxxxxxxxxxxxxx
I have 4 linux boxes and I want to mount the home directories from a Win
2003R2 NFS server. I have the NFS server up and running and can mount NFS
shares but the GID is wrong. It is -2 instead of 0.

When I mount home directories from another linux box, it is mounted as 0/0
as follows. I'm trying to get the 2003R2 NFS server to do the same.
$ mount | grep home
192.168.0.5:/home on /home type nfs (rw,addr=192.168.0.5)
$ ls -ld /home
drwxr-xr-x 45 root root 4096 2006-07-10 13:53 /home
$ ls -ldn /home
drwxr-xr-x 45 0 0 4096 2006-07-10 13:53 /home

Initially the UID was -2 also, but I changed the shared folder to be owned
by a user called "root" with a UID of 0 and that worked.

However, I have had no luck with the GID. I created a group called
"root-group" (AD wouldn't let me call the group "root" as there was
already
an object with that name) and assigned it a GID of 0. Also the root user
has
a primary unix group of "root-group".

How do I set the folder permissions and/or any other settings so that the
I
can mount the home directory with 0/0 and drwxr-xr-x as listed above ???

Thanks,
Brendan.




.



Relevant Pages

  • [opensuse] NFS Problem
    ... i have a couple of clients mount their home directories via nfs. ... this all worked until this morning when i could not mount anything from the nfs server. ...
    (SuSE)
  • Re: Some clients cant see NFS after re-boot
    ... Peter Smithson wrote: ... I suspect that the mounts that aren't working are not set to automount. ... > They can all ping the server and they can all see another nfs server. ... mount server:/remotmountpoint /localmountpoint ...
    (comp.unix.admin)
  • Re: [PATCH 3/4] autofs4 - track uid and gid of last mount requestor
    ... the lookup we set macros for several mount map substitution variables, ... I think there is some confusion surrounding what the UID and GID are ...
    (Linux-Kernel)
  • Re: Tracing down 250ms open/chdir calls
    ... On our large cluster we sometimes encounter the problem that our main ... What are the mount options for the mount points? ... are when compared to other head nodes with different tasks/loads: ... From my laptop running a Ubuntu 8.10 variant over gigabit to a known very slow NFS server ... ...
    (Linux-Kernel)
  • Re: [PATCH 3/4] autofs4 - track uid and gid of last mount requestor
    ... the lookup we set macros for several mount map substitution variables, ... I think there is some confusion surrounding what the UID and GID are ...
    (Linux-Kernel)