LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-01-2016, 10:59 AM   #1
nitesh20202
LQ Newbie
 
Registered: Jun 2016
Posts: 2

Rep: Reputation: Disabled
UID mapping in linux NFS server


Can anyone let me know how can I map a UID 162 to UID 107 File in my nfs are getting created with permission 162:162 but on my local machine the userid for that specific user is 107 so I need to map it.

/etc/idmapd.conf

[Mapping]
Nobody-User = nobody
Nobody-Group = nobody

Can any one let me know how to map it in idmap.conf.
 
Old 06-02-2016, 08:05 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,609
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
Well, where is "162" coming from? Some kind of "squash" directive? What user-id corresponds to 162 in various places?
 
Old 06-10-2016, 08:24 AM   #3
nitesh20202
LQ Newbie
 
Registered: Jun 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
I got the solution was a workaround

/mnt/directoryname *(rw,all_squash,anonuid=107,anongid=114)

with this all file and folder will get generated by uid 107 and gid 114

Thank you
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use SSHFS where UID===UID (same as NFS)? Lop3 Linux - Server 4 11-14-2015 08:13 AM
[SOLVED] howto set UID/GUI for NFS server with Mac client lleb Linux - Newbie 1 12-06-2012 04:08 PM
Linux + Kerberos + Active Directory + Account UID Mapping? humbletech99 Linux - Networking 2 02-02-2008 06:30 AM
Samba uid/gid mapping (Server to client) problems mcle Linux - Networking 2 01-07-2005 08:16 AM
UID Mapping for NFS without NIS jgombos Linux - Networking 1 07-27-2003 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration