NFS4 UIG/GID mapping problems

I have many (openSUSE 11.2) Linux clients here connected to an NFS server using NFS4 shares and an NIS.

The (well known) problem is that right after bootup all files and directories belong to user nobody and group nobody.

I searched the net and found many suggestions, here are the interesting configs I modified:

/etc/nsswitch.conf:

passwd:	compat nis
group:	compat nis

hosts:	files mdns4_minimal [NOTFOUND=return] dns
networks:	files dns

services:	files nis
protocols:	files
rpc:	files
ethers:	files
netmasks:	files
netgroup:	files nis
publickey:	files

bootparams:	files
automount:	files
aliases:	files nis
shadow:	compat

/etc/idmapd.conf

[General]
Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = ourdomain

[Mapping]
Nobody-User = nobody
Nobody-Group = nobody

[Translation]
Method=nsswitch

The strange thing is that when I manually restart the NFS client services via /etc/init.d/nfs the UIDs/GIDs suddenly are the right ones.

Any suggestion what to try next? The problem does not appear when using NFS3 to mount those shares.

Thanks in advance,

lynix

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

same for me :frowning:


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkxlPSwACgkQJQ+0ABWtaVkBOACgl6LqcpRGGwGmYVe9lbRXbYIY
BoQAnA+Six5Vyg6pwNu0yB+2+nrluysK
=wQsQ
-----END PGP SIGNATURE-----