Problem setting up QuTS 5.2.1 nfs server with anything except sec=sys
Posted: Sat Nov 02, 2024 4:41 am
Hi,
I'm quite a new user of a QNAP TS-464 and so far it does everything I could hope for and more. With the most recent update QuTS became an option, so I've reinitialised the NAS to begin using ZFS.
But I've hit a problem. I want to use "sec=krb5" for the NFS shared folders, so that the userids are mapped between the clients and the server automatically - this requires Kerberos authentication between the client and server.
I've read a LOT of documents online about how to achieve this. They all suggest that you have to configure the NAS as an Active Directory Domain Server, which I have done: Also what I've read online says that I need to join the NAS into the AD domain, but the options to do that are greyed out, but the text seems to suggest that the NAS has been automatically added: Is this correct? Or should those options be available for me to add the NAS to the AD domain?
The AD server (samba) should support authentication with Kerberos - I've tested the ability to obtain a ticket from it using the krb tools on a client Linux command line. So this would suggest the Kerberos side is working OK.
Online, it's been suggested that the DNS servers for the NAS need to point to the local host (127.0.1.1 - as was offered in the initial set up screen after the initialisation), and the main DNS server for my network as the secondary. This is how things are configured and DNS on the NAS seems to be operating correctly, with the AD domain (afterdark.lan) looking up to the NAS IP.
Once this is all configured, i enable the NFSv4 and NFSv4.1 sharing.
Now, when it comes to sharing a share via NFS, there is no way I can change the security setting from "sys" to anything else. The option is not enabled: What am I doing wrong? How do I change the security from sys to krb5?
I've convinced myself (despite reading many, many pages online) that I'm missing a step or just being dumb.
Can anyone offer a complete step by step as to how to enable use of krb5 security, or point me in a direction that may help me resolve this?
Thanks!
I'm quite a new user of a QNAP TS-464 and so far it does everything I could hope for and more. With the most recent update QuTS became an option, so I've reinitialised the NAS to begin using ZFS.
But I've hit a problem. I want to use "sec=krb5" for the NFS shared folders, so that the userids are mapped between the clients and the server automatically - this requires Kerberos authentication between the client and server.
I've read a LOT of documents online about how to achieve this. They all suggest that you have to configure the NAS as an Active Directory Domain Server, which I have done: Also what I've read online says that I need to join the NAS into the AD domain, but the options to do that are greyed out, but the text seems to suggest that the NAS has been automatically added: Is this correct? Or should those options be available for me to add the NAS to the AD domain?
The AD server (samba) should support authentication with Kerberos - I've tested the ability to obtain a ticket from it using the krb tools on a client Linux command line. So this would suggest the Kerberos side is working OK.
Online, it's been suggested that the DNS servers for the NAS need to point to the local host (127.0.1.1 - as was offered in the initial set up screen after the initialisation), and the main DNS server for my network as the secondary. This is how things are configured and DNS on the NAS seems to be operating correctly, with the AD domain (afterdark.lan) looking up to the NAS IP.
Once this is all configured, i enable the NFSv4 and NFSv4.1 sharing.
Now, when it comes to sharing a share via NFS, there is no way I can change the security setting from "sys" to anything else. The option is not enabled: What am I doing wrong? How do I change the security from sys to krb5?
I've convinced myself (despite reading many, many pages online) that I'm missing a step or just being dumb.
Can anyone offer a complete step by step as to how to enable use of krb5 security, or point me in a direction that may help me resolve this?
Thanks!
