Skip to contentSkip to conversation

NFSv3 with kerberos

DISCUSSION Oliver Borm 1 participant 1 message Sep 14, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I'm using gentoo linux with kernel from gentoo-sources-2.6.21-r4, nfs-util-1.1.0, libnfsidmap-0.20 and librpcsecgss-0.14-r1. When my exports on the server are:

/local/tmp gss/krb5i(rw,async,subtree_check,insecure) /local/tmp 192.168.1.1/255.255.255.0(rw,async,subtree_check,insecure)

Then I can mount these shares with both NFSv3 and NFSv4 and Kerberos Auth! But when the exports are only:

/foobar gss/krb5i(rw,async,subtree_check,insecure)

Then I cannot mount these shares with NFSv3:

kiste-55 local # mount -t nfs -osec=krb5 192.168.1.21:/local/tmp test
mount: 192.168.1.21:/local/tmp failed, reason given by server:
Permission denied

And on the server a tail /var/log/messages gives:

Sep 15 00:36:12 kiste3-1 mountd[7543]: mount request from unknown host

192.168.1.55 for /local/tmp (/local/tmp)

Is this a bug or a feature? Is the problem here, with my settings? With nfs4 the server knows the host! We're running an MS Win AD as the KDC and DNS.
I want to use NFSv3 because the acl mapping is there supported better, than wiht NFSv4! I have tested the tools on the CITI, but these were not so good.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs