Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
username ID mapping on NFSv4 shares doesn't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Brane2
n00b
n00b


Joined: 03 Jul 2011
Posts: 44

PostPosted: Wed Oct 29, 2014 10:09 am    Post subject: username ID mapping on NFSv4 shares doesn't work Reply with quote

I noticed that username mapping between local NFSv4 server and my client doesn't work.

Both machines use just uids and ignore usernames.

Until now, I have had setup /etc/idmapd.conf so that "static" mapping method is used and I have listed usrnames I want to have mapped.

It used to work, it doesn't work now.

As I understand, they have libnfsidmap now for that, but it doesn't work for me, so I tried removing it and recompiling nfs-utils without nfsidmap USE flag.
Without success


Does this work for anyone here and do you have it set up ?

I have simple configuration, without kerberos or gss, with just a need for simple mapping of couple usernames.

I tried emerging newest nfs-utils-1.3.1. It works the same ( without id mapping).
_________________
On the journey of life I chose the psycho path...
Back to top
View user's profile Send private message
katfish
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2011
Posts: 147

PostPosted: Mon Nov 03, 2014 11:11 pm    Post subject: Reply with quote

I also tried it once with NFS4, but never got the mapping working as it should do.

At home, I use the same user/group IDs and names on both server and client to have consistent mapping. At work does LDAP with kerberos the job.
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Tue Nov 04, 2014 1:02 am    Post subject: Reply with quote

katfish wrote:
I also tried it once with NFS4, but never got the mapping working as it should do.

At home, I use the same user/group IDs and names on both server and client to have consistent mapping. At work does LDAP with kerberos the job.


We do the same user/group IDs both at work and at home. I use idmapd, but I've never "stressed" it. Actually, if idmapd isn't working, things fall apart even with same user/group IDs across my home cluster.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum