Results 1 to 10 of 14

Thread: NFS user/group mapping not working in 10.10?

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Beans
    9

    NFS user/group mapping not working in 10.10?

    Hi,
    I have the following strange situation after upgrading to 10.10 (both the NFS server and client are on 10.10):

    To make UID and GID mapping trivial, I've made sure that clients and server all have the same users and groups with the same IDs. This used to work fine.

    However now the client is always displaying 4294967294 for the UID and GID but - and here is the strange bit - if I create a file on the client it shows up on the server with the correct user and group (but on the client still with 4294967294).
    It's as if the mapping is working fine int the client->server direction but wrong in the server->client direction...

    Any ideas?

    Here is the exports line on the server:
    Code:
    data/fileserver 192.168.1.0/255.255.255.0(rw,sync,no_subtree_check)
    And the fstab line on the client:
    Code:
    htpc:/data/fileserver /data/fileserver nfs defaults 0 0
    Trying to chown a file on the client gives the error "chown: changing ownership of `somefile': Invalid argument"

  2. #2
    Join Date
    Apr 2010
    Beans
    5

    Re: NFS user/group mapping not working in 10.10?

    Quote Originally Posted by paol05 View Post
    Hi,
    I have the following strange situation after upgrading to 10.10 (both the NFS server and client are on 10.10):

    To make UID and GID mapping trivial, I've made sure that clients and server all have the same users and groups with the same IDs. This used to work fine.

    However now the client is always displaying 4294967294 for the UID and GID but - and here is the strange bit - if I create a file on the client it shows up on the server with the correct user and group (but on the client still with 4294967294).
    It's as if the mapping is working fine int the client->server direction but wrong in the server->client direction...

    Any ideas?

    Here is the exports line on the server:
    Code:
    data/fileserver 192.168.1.0/255.255.255.0(rw,sync,no_subtree_check)
    And the fstab line on the client:
    Code:
    htpc:/data/fileserver /data/fileserver nfs defaults 0 0
    Trying to chown a file on the client gives the error "chown: changing ownership of `somefile': Invalid argument"

    THis is normal behaveyour of NFS ,

    Jou need to have all user on both systems with the same gid en uid.

    A way to acomplise this is NIS, in that case all user must be created on the server.

  3. #3
    Join Date
    Feb 2009
    Beans
    9

    Re: NFS user/group mapping not working in 10.10?

    basd82, you misread me, I *do* have all users and groups with the same ID...

  4. #4
    Join Date
    Mar 2009
    Beans
    2

    Re: NFS user/group mapping not working in 10.10?

    I have the same problem. The NFS server is a solaris server in my case. It used to work with older versions of Ubuntu without any problems and new I get UID and GID 4294967294 4294967294

    Any solutions to this?

  5. #5
    Join Date
    Feb 2009
    Beans
    9

    Re: NFS user/group mapping not working in 10.10?

    If everyone is seeing this then a filing a bug report might be in order. (I searched the ubuntu bugs before posting this and didn't find anything related).

    Can anyone else confirm seeing this behavior?

  6. #6
    Join Date
    Aug 2006
    Beans
    1

    Re: NFS user/group mapping not working in 10.10?

    Hi,

    I'm getting this problem too. The NFS server is also a solaris box and the mapping worked fine before my upgrade to 10.10. I too am getting 4294967294 as the gid/uid.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •