]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: Disable posix locking in share definition 65999/head
authorAnoop C S <anoopcs@cryptolab.net>
Tue, 21 Oct 2025 08:53:50 +0000 (14:23 +0530)
committerAnoop C S <anoopcs@cryptolab.net>
Fri, 14 Nov 2025 08:20:06 +0000 (13:50 +0530)
commit05b125b2387736389e018c11a8219e07fabb4448
tree3ea48ced168249287ba405d5e6347baf65830b1d
parentbcde113c98610b3f5bb687fc5d005ca47cedfe4c
mgr/smb: Disable posix locking in share definition

The prerequisites for supporting durable handles[1] in Samba include
disabling the mapping of POSIX locks, as well as setting the `kernel
oplocks` and `kernel sharemodes` parameters to disabled. Currently
this configuration is hard‑coded, but in the future it could be made
conditional and combined with other settings to enable persistent
handles on continuously available shares.

[1] https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html#DURABLEHANDLES

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
qa/suites/orch/cephadm/smb/tasks/deploy_smb_basic.yaml
qa/suites/orch/cephadm/smb/tasks/deploy_smb_domain.yaml
src/pybind/mgr/smb/handler.py