]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/nfs: add --sectype flag to nfs export create functions
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 2 Sep 2022 15:36:53 +0000 (11:36 -0400)
committerAdam King <adking@redhat.com>
Tue, 18 Oct 2022 15:49:24 +0000 (11:49 -0400)
commit5f7f70bcda1d60ce46aa754dc87ff800e31f6db6
treeb5336685b21ea9df8431f204df89121eb07806ac
parent13487122f427ceeb123647a3c8b9c85066a9f52a
mgr/nfs: add --sectype flag to nfs export create functions

Fixes: https://tracker.ceph.com/issues/57404
Add the sectype argument, also for use as a CLI option, to the functions
that create nfs exports. NFS Ganesha can use the sectype configuration
option to decide what kind of security will be applied/required for
connection to an export.

NOTE: This option is only useful when Ganesha is configured along with
LDAP/Kerberos integration. Configuration of that integration is outside
the scope of these patches.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 11affedea600360afd1ee7e3bb62c51f7b423a67)
src/pybind/mgr/nfs/module.py