lkml.org 
[lkml]   [2004]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: UID/GID mapping system
    Hi!

    > Here's a simple, typical problem:
    >
    > I want to connect a Linux laptop to a network with existing NFS/NIS
    > infrastructure in place and mount and use, say, an NFS home directory.
    > Unfortunately, the UID mappings differ between the existing
    > infrastructure and my laptop. For example, all the files in my NFS
    > directory are all owned by uid=45067 gid=102, but my user and default
    > group on the laptop are 1000 and 1000 respectively.
    >
    > I don't adminsiter the NFS server; I can't ask the administrator to
    > set up a server-side mapping system just for my benefit. But, I *can*
    > convince the administrator to add:
    >
    > /home/b/u/buhr mymachine(squash_uids=0-45066,45068-65535,squash_gids=0-100)
    >
    > to his exports file.

    Well... teach nfsd to accept

    ...squash_uids=...,map_uid=10000:45067,...

    Pavel
    --
    64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:01    [W:0.020 / U:31.248 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site