Linux NFS development
 help / color / mirror / Atom feed
From: Wang Yugui <wangyugui@e16-tech.com>
To: linux-nfs@vger.kernel.org
Subject: any guide to install/test nfs sec=krb5?
Date: Sun, 22 Jan 2023 12:43:13 +0800	[thread overview]
Message-ID: <20230122124313.31CB.409509F4@e16-tech.com> (raw)

Hi,

Is there any guide to install/test nfs sec=krb5?

test env:
krb5 server : windows  active directory
linux: rocky linux 9.1,  already 'realm join' with sssd.

1) from redhat
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_using_network_file_services/securing-nfs_configuring-and-using-network-file-services
Procedure
Create the nfs/hostname.domain@REALM principal on the NFS server side.
Create the host/hostname.domain@REALM principal on both the server and the client side.
Add the corresponding keys to keytabs for the client and server.

but we need more detail.


2, from isilon
http://doc.isilon.com/ECS/3.3/AdminGuide/ecs_t_file_access_confgure_kerberos.html
http://doc.isilon.com/ECS/3.7/AdminGuide/GUID-2018CF69-5F1E-4F3A-BA90-3659F85DE415.html
more detail than redhat.

but the following fail.
Test registration by running.
kinit -k host/<fqdn>@NFS-REALM.LOCAL

host/<fqdn> will is already created when 'realm join'?
host/<fqdn> is created here again, so there is some trouble?

'kinit -k nfs/<fqdn>@NFS-REALM.LOCAL' works as the document.


any guide please, thanks a lot.

Best Regards
Wang Yugui (wangyugui@e16-tech.com)
2023/01/22



             reply	other threads:[~2023-01-22  4:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-22  4:43 Wang Yugui [this message]
2023-01-22 17:55 ` any guide to install/test nfs sec=krb5? Wang Yugui
2023-01-23  4:08   ` Wang Yugui
2023-01-23 16:06     ` Wang Yugui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230122124313.31CB.409509F4@e16-tech.com \
    --to=wangyugui@e16-tech.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox