<div dir="ltr">Hi,<div>Doesn't help. Actually the problem is bigger..</div><div><br></div><div>See this:</div><div><br><div>[root@client ~]# su - vic</div><div>id: cannot find name for user ID 500</div><div>id: cannot find name for user ID 500</div>
<div>[I have no name!@client ~]$ pwd</div><div>/home/vic</div><div><br></div><div>/home/vic is from the NFS. </div><div><br></div><div>doing ls -la shows me this:</div><div><br></div><div><div>$ ls -la</div><div>total 28</div>
<div>drwx------. 2 500 vic 4096 Nov 23 19:16 .</div><div>drwxr-xr-x. 4 root root 4096 Nov 25 20:06 ..</div><div>-rw-------. 1 500 vic 264 Nov 23 19:52 .bash_history</div><div>-rw-r--r--. 1 500 vic 18 May 26 2011 .bash_logout</div>
<div>-rw-r--r--. 1 500 vic 176 May 26 2011 .bash_profile</div><div>-rw-r--r--. 1 500 vic 124 May 26 2011 .bashrc</div></div><div><br></div><div>idmapd.conf is configured, nfs service is running, I'm going crazy :)</div>
<div><br></div><div>Thanks,</div><div>Hetz</div><div><br></div><div><br></div><div class="gmail_quote">On Sun, Nov 27, 2011 at 12:07 PM, shimi <span dir="ltr"><<a href="mailto:linux-il@shimi.net">linux-il@shimi.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr"><br><br><div class="gmail_quote"><div class="im">2011/11/27 Hetz Ben Hamo <span dir="ltr"><<a href="mailto:hetzbh@gmail.com" target="_blank">hetzbh@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">
<div dir="ltr">Hi,<div><br></div><div>I have not had the "pleasure" of setting NFS + NIS for quite a long time (since 2000 approx), but now I need it for a client.</div><div><br></div><div>I've set up a "lab" at home to test it before I deployed it.</div>
<div>NFS mount works, no problems.</div><div><br></div><div>However, with NIS when I login to the client, I see the files and everything, but the GID show for example as "500" instead of the actual "test" group. The user shows correctly.</div>
<div><br></div><div>idmap etc works..</div><div><br></div><div>Any suggestions?</div><div>Thanks,</div><div>Hetz<span><font color="#888888"><br clear="all"><div><br></div><br></font></span></div></div></blockquote>
</div><div><br>Did you tell your system to use groups from NIS in /etc/nsswitch.conf ? (might need to put 'nis' before 'compat' / 'files' if you want it to override a local equivalent value)<span class="HOEnZb"><font color="#888888"><br>
<br>-- Shimi <br>
</font></span></div></div><br></div>
</blockquote></div><br><br>
</div></div>