@ wrote... (7 years, 6 months ago)

I have two Fedora 15 machines, they both authenticate using NIS and mount home directories via NFS. The first machine worked perfectly, the second did not. I could login via ssh (nis works) but all my file owners were nobody:users.

Anyhow, through much trial and error I learned about /etc/imapd.conf. So after booting my machine, if I restarted rpcidmapd and autofs then the file permissions were correct.

After much Googling I found this

Solution:

edit /etc/idmapd.conf
uncomment and edit Domain = <your nis domain>

If I had to guess, I think the NIS domain isn't being set until after rpc.idmapd and automount are started. That's why restarting the services later seems to work. Or whatever. Why it works on one fresh install but not the next I'll never know.

Category: tech, Tags: fedora, linux, nfs
Comments: 1
Comments
1.
Brown @ March 1, 2013 wrote... (5 years, 10 months ago)

Solved my problem. Thanks for the tip!

One clarification, though, that may help others - editing /etc/idmapd.conf is done on the NFS server/host, not the client machines.

Click here to add a comment