Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2016 14:40:35 +0300
From:      Ross <basarevych@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Mounting Kerberized NFS at boot
Message-ID:  <CANmv3=zuuyALuxvBKezRpDFi_cpq_DJ0M3BWz3Gb=uWR_4AxRQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello

I have NIS, Kerberos and NFSv4. Exported shares use sec=krb5i, and it seems
in order to mount these you have to have a Kerberos ticket. And root while
booting the client system does not.

So far I ended up putting this to rc.local:

kinit -t /etc/krb5.keytab host/myhostname.lan
mount /home
mount /storage

And those mounts are set to "noauto" in fstab. It works. But is there a
better way to do it? I mean without kinit in rc.local and only using fstab?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANmv3=zuuyALuxvBKezRpDFi_cpq_DJ0M3BWz3Gb=uWR_4AxRQ>