]> git.apps.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>
Mon, 30 Jan 2023 23:42:04 +0000 (18:42 -0500)
commit20a22447af47646f4f098b073868780cb0b2dd05
treec5ea87f70dc67dd561f5fdfaca0bf9559f34dfd7
parentf0a0ac08eda644ad38292dfd939969f89cbaa43f
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