Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-25-2010, 09:12 AM
|
#1
|
LQ Newbie
Registered: Dec 2006
Posts: 11
Rep:
|
NFSv4 and idmapd working only in one direction
I tried to set up NFSv4 with idmapd between two Debian/lenny installations. On the client, the user "xyz" has the UID 501 and on the server "1000". Changing UIDs and setting up NIS is not possible, Kerberos unwanted. I tried to set up NFSv4 with idmapd and it is only working from server to client: When I list directories on the server, belonging to the user "xyz/1000", the owner is correctly displayed on the client as user "xyz/501". But when I create a file on the server, it is created with UID 501 (should be 1000). The configuration is quite standard, idmapd.conf was generated automatically, NEED_IDMAPD is set to "yes" and starting properly.
The main exporting directory has following options in /etc/exports:
rw,fsid=0,insecure,no_subtree_check,sync
and the mounted directory has:
rw,nohide,insecure,no_subtree_check,sync
For the mount-command, I specified "-t nfs4" as filesystem.
What might I be missing?
Tnx, Armin
|
|
|
02-26-2011, 12:07 AM
|
#2
|
LQ Newbie
Registered: Feb 2011
Posts: 3
Rep:
|
Any answer for this?
Quote:
Originally Posted by afuerst
I tried to set up NFSv4 with idmapd between two Debian/lenny installations. On the client, the user "xyz" has the UID 501 and on the server "1000". Changing UIDs and setting up NIS is not possible, Kerberos unwanted. I tried to set up NFSv4 with idmapd and it is only working from server to client: When I list directories on the server, belonging to the user "xyz/1000", the owner is correctly displayed on the client as user "xyz/501". But when I create a file on the server, it is created with UID 501 (should be 1000). The configuration is quite standard, idmapd.conf was generated automatically, NEED_IDMAPD is set to "yes" and starting properly.
The main exporting directory has following options in /etc/exports:
rw,fsid=0,insecure,no_subtree_check,sync
and the mounted directory has:
rw,nohide,insecure,no_subtree_check,sync
For the mount-command, I specified "-t nfs4" as filesystem.
What might I be missing?
Tnx, Armin
|
I've run into this exact issue myself and I've found multiple people posting about it but no actual responses other than it works if you set up NIS, Kerberos, or LDAP. I guess it wasn't designed with the simple setup in mind. Anyway - is there anyone out there that knows if this is expected behavior and can offer an explanation?
|
|
|
All times are GMT -5. The time now is 07:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|