NFS + NIS madness

NFS + NIS madness

Hetz Ben Hamo hetzbh at gmail.com
Sun Nov 27 12:30:52 IST 2011


Hi,
Doesn't help. Actually the problem is bigger..

See this:

[root at client ~]# su - vic
id: cannot find name for user ID 500
id: cannot find name for user ID 500
[I have no name!@client ~]$ pwd
/home/vic

/home/vic is from the NFS.

doing ls -la shows me this:

$ ls -la
total 28
drwx------. 2  500 vic  4096 Nov 23 19:16 .
drwxr-xr-x. 4 root root 4096 Nov 25 20:06 ..
-rw-------. 1  500 vic   264 Nov 23 19:52 .bash_history
-rw-r--r--. 1  500 vic    18 May 26  2011 .bash_logout
-rw-r--r--. 1  500 vic   176 May 26  2011 .bash_profile
-rw-r--r--. 1  500 vic   124 May 26  2011 .bashrc

idmapd.conf is configured, nfs service is running, I'm going crazy :)

Thanks,
Hetz


On Sun, Nov 27, 2011 at 12:07 PM, shimi <linux-il at shimi.net> wrote:

>
>
> 2011/11/27 Hetz Ben Hamo <hetzbh at gmail.com>
>
>> Hi,
>>
>> 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.
>>
>> I've set up a "lab" at home to test it before I deployed it.
>> NFS mount works, no problems.
>>
>> 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.
>>
>> idmap etc works..
>>
>> Any suggestions?
>> Thanks,
>> Hetz
>>
>>
>>
> 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)
>
> -- Shimi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20111127/7e7cfaf6/attachment.html>


More information about the Linux-il mailing list