I have been trying to set up NFSv4 + Kerberos on my server. The export seems to mount fine on the client but any actions cause I/O errors.
Client and server are running FreeBSD 8.0-BETA4
Client commands
/etc/exports
Client /etc/rc.conf
Server /etc/rc.conf
Any help would be great.
Thanks
Client and server are running FreeBSD 8.0-BETA4
Client commands
Code:
$ kinit
...
$ mount -t nfs -o nfsv4,tcp,rw,sec=krb5p myserver.mydomain:/ /mnt/ex
$ ls /mnt/ex
nfsv4 client/server protocol prob err=10020
nfsv4 client/server protocol prob err=10020
ls: : Input/output error
/etc/exports
Code:
V4: /export -sec=krb5p myclient.mydomain myserver.mydomain
Client /etc/rc.conf
Code:
nfs_client_enable="YES"
nfsuserd_enable="YES"
nfscbd_enable="YES"
gssd_enable="YES"
Server /etc/rc.conf
Code:
kerberos5_server="/usr/local/sbin/krb5kdc"
kadmind5_server="/usr/local/sbin/kadmind"
kerberos5_server_enable="YES"
kadmind5_server_enable="YES"
gssd_enable="YES"
nfsv4_server_enable="YES"
nfsuserd_enable="YES"
nfsuserd_flags="-verbose"
nfs_access_cache="60"
nfs_server_enable="YES"
nfs_server_flags="-e -t -u -h 192.168.1.200 -n 4"
mountd_enable="YES"
mountd_flags="-r -e -h 192.168.1.200 -l"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
rpcbind_enable="YES"
rpcbind_flags="-L -l -h 192.168.1.200"
Any help would be great.
Thanks
Last edited by a moderator: