Need some guidance in getting this working.
Have an 8.2.2P1 7-mode filer, joined to AD (working fine w/ CIFS) and
have used 'nfs setup' to enable Kerberized NFS. However, I noticed
that no nfs/* entries are present when I run setspn -L <FILER> from a
Windows box. I was under the impression that nfs setup should create
these? Or, since we're joined to AD already, perhaps the established
machine account is sufficient to obtain one on the fly...
I have the following export on a volume with ntfs security style:
/vol/raytest -sec=krb5:krb5i:krb5p,rw,anon=0,nosuid
On my client (RHEL7+SSSD), I'm fairly confident my setup for Kerberos
is good. I can SSH in with a Kerberos login, do kinit, etc and connect
to other Kerberized services (like doing an ldapearch do AD without
being prompted for a password using -Y GSSAPI as long as I have a valid
tgt).
I've tried my krb5.conf with and without the following:
default_tgs_enctypes = RC4-HMAC DES-CBC-MD5 DES-CBC-CRC
default_tkt_enctypes = RC4-HMAC DES-CBC-MD5 DES-CBC-CRC
preferred_enctypes = RC4-HMAC DES-CBC-MD5 DES-CBC-CRC
I also ran 'net ads keytab add nfs' on my client and see that I have a
valid nfs/ entry in my machine's keytab file.
If I run the following (either as root or as a user -- below is as a
user with a valid TGT):
$ sudo mount.nfs4 -o vers=4,sec=krb5 red-str-napc2-p12.esri.com:/vol/raytest /mnt/nfs
I get a successful mount and also see a valid nfs ticket in klist.
However, when I try to cd to /mnt/nfs, I get a "Permission Denied"
error.
I have rpc.gssd running in the foreground in verbose mode but don't
really see anything odd.
Wireshark tells me I've asked for read, lookup, modify, extend and
delete permissions but that access was denied and only delete was
allowed. I can see that the RPC portion of the packets are speaking
Kerberos, but I can't tell much more than that.
DNS, NTP, etc. is all set up and working on both sides. I've used
sectrace on the /vol/raytest path above to try and catch issues, but
get no hits making me think it's NFS on the NetApp rejecting things,
not the file system layer... fsecurity shows that everything is wide
open and from a CIFS client using the same user as on the Linux box, I
can create files on the same path with no issues.
Kinda stumped at this point. Any suggestions?
Ray