Can't mount nfs4 directories with Kerberos auth on CentOS 5
I have an nfs server running Solaris. It works fine and a large number of clients happily mount directories from it. But only almost all clients.
All clients that have problem run CentOS (5.4 and 5.5). I've found one or two of each version that fail, but also a couple of each version that work. The mounting is done via autofs but that doesn't seem to make any difference. Kerberos is used for authentication. When I try to mount a directory manually I get this: Code:
# mount -vvvv -t nfs4 -o sec=krb5 triangulum.ifm.liu.se:/export/users/hans /mnt Code:
Oct 15 15:15:12 pc13287 rpc.gssd[2780]: rpcsec_gss: gss_init_sec_context: (major) Unspecified GSS failure. Minor code may provide more information - (minor) Unknown code krb5 60 Code:
Oct 19 13:26:01 pc14113 rpc.gssd[2793]: ERROR: GSS-API: error in gss_acquire_cred(): Unspecified GSS failure. Minor code may provide more information - Unknown code krb5 195 The failing machine runs CentOS 5.5. If I run the same command on one of the machines where mounting works I get the first line of output ("pinging") and nothing more. On the other hand I get a mounted directory. I can't find any relevant differences in configuration. I've gone through files in /etc on a working and a non-working machine looking for changes but not finding anything relevant in /etc/sysconfig/nfs, /etc/hosts, /etc/idmapd.conf, /etc/krb5.conf, /etc/host.conf, /etc/nsswitch.conf, /etc/resolv.conf and others. SELinux is not running. This is what the keytab looks like on both working and non-working machines: Code:
# klist -k -e There is plenty of space in /tmp and it is writable by all. Among the total set of clients there are multiple versions of nfs-utils and kernel used, but I can pick a set of one working and one non-working that have the same versions for both (nfs-utils-1.0.9-47.el5_5 and kernel-2.6.18-194.17.1.el5). Obviously, I need to check something else, but what? Please help! |
All times are GMT -5. The time now is 10:26 PM. |