LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-31-2016, 06:08 AM   #1
amperenaushad
LQ Newbie
 
Registered: Apr 2016
Posts: 7

Rep: Reputation: Disabled
NFS and Samba Server and client configuration- I.P. and Username difference


When we configure samba client we give existing "username" who can access that samba share like #smbclient -L server name (or I.P.) -U username.
But while configuring NFS Server we give only I.P. in /etc/exports of that machine that can access this share like /nfsfileshare Client-I.P.(rw,sync,no_root_squash)
My Question is- Can we use existing "username" in place of Client-I.P. in NFS server configuration?
I am new to this.
 
Old 11-01-2016, 01:00 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,938

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
No, with NFS a client is another computer that requires access to the share on the server. Basic user permissions are based on the uid,gid.

So what are you trying to accomplish?
 
1 members found this post helpful.
Old 11-01-2016, 08:50 PM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Well, there is nfsidmap - which provides translation tables for translating remote uid/gid into local uid/gid.

It is just usually easier to use the same UID/GIDs on the NFS client as those used on the NFS server.
 
1 members found this post helpful.
Old 11-07-2016, 06:37 AM   #4
amperenaushad
LQ Newbie
 
Registered: Apr 2016
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks jpollard and michaelk
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to configure NFS Server and Client Configuration on Ubuntu 15.10 LXer Syndicated Linux News 0 01-18-2016 05:21 PM
LXer: How to configure NFS Server and Client Configuration on Ubuntu 15.04 LXer Syndicated Linux News 0 09-29-2015 02:30 PM
LXer: Configure NFS Server and Client Configuration on Ubuntu 14.04 LXer Syndicated Linux News 0 08-08-2014 06:30 PM
LXer: NFS Server and Client Configuration in Ubuntu LXer Syndicated Linux News 0 05-08-2007 07:01 PM
LXer: Network File System (NFS) Server and Client Configuration in Debian LXer Syndicated Linux News 0 03-12-2007 12:01 PM


All times are GMT -5. The time now is 12:06 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration