View previous topic :: View next topic |
Author |
Message |
manlin n00b
Joined: 29 Sep 2016 Posts: 1
|
Posted: Thu Sep 29, 2016 3:35 pm Post subject: NFS client support for mounting kerberos shares |
|
|
Hi,
I am new to Gentoo. Spent couple days setting up my machine and is now working fine.
What I am trying to do now is mount my home directory which is exported as a kerberos protected share on an nfs server. I can moun't that nfs share without kerberos (obviously I won't be able to access it). But with option -o sec=krb5, I get mount.nfs: incorrent option was specified error.
I have dealt with this in other distros. Normally I have to start rpc.gssd service to be able to do this and that has fixed in other distros. I am wondering how to do that in Gentoo. I am running latest Gentoo with openrc.
Could someone help me resolve this please? I have nfs-utils installed and nfsclient service running with other services like rpcbind, idmapd but can't figure out how to get rpc.gssd service.
Thanks. |
|
Back to top |
|
|
tuxdream n00b
Joined: 23 Mar 2009 Posts: 35
|
Posted: Thu Sep 29, 2016 6:52 pm Post subject: |
|
|
Here my configuration files :
server side:
Code: | # nano /etc/exports
/exports/folder gss/krb5p(sec=krb5p,rw,nohide,insecure,no_root_squash,no_subtree_check,sync)
|
client side:
Code: | #nano /etc/fstab
nfs.server.net:/folder /mnt/nfs nfs4 sec=krb5p,rw,users,hard,intr,proto=tcp,port=2049,rsize=32768,wsize=32768 0 0
|
Then, I start my nfs client with Sytemd :
Code: | systemctl enable nfs-client.target |
But with OpenRC, if I'm not mistaken :
Code: | # rc-update add netmount default
# rc-update add rpc.gssd default
# rc-update add rpc.svcgssd default
# rc-update add rpc.idmapd default |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|