@@ -357,6 +357,21 @@ custom_dns
357357placement
358358 Optional. A Ceph Orchestration :ref: `placement specifier
359359 <orchestrator-cli-placement-spec>`. Defaults to one host if not provided
360+ custom_smb_share_options
361+ Optional mapping. Specify key-value pairs that will be directly added to
362+ the global ``smb.conf `` options (or equivalent) of a Samba server. Do
363+ *not * use this option unless you are prepared to debug the Samba instances
364+ yourself.
365+
366+ This option is meant for developers, feature investigators, and other
367+ advanced users to take more direct control of a share's options without
368+ needing to make changes to the Ceph codebase. Entries in this map should
369+ match parameters in ``smb.conf `` and their values. A special key
370+ ``_allow_customization `` must appear somewhere in the mapping with the
371+ value of ``i-take-responsibility-for-all-samba-configuration-errors `` as an
372+ indicator that the user is aware that using this option can easily break
373+ things in ways that the Ceph team can not help with. This special key will
374+ automatically be removed from the list of options passed to Samba.
360375
361376
362377.. _join-source-fields :
@@ -465,6 +480,20 @@ cephfs
465480 provider
466481 Optional. One of ``samba-vfs `` or ``kcephfs `` (``kcephfs `` is not yet
467482 supported) . Selects how CephFS storage should be provided to the share
483+ custom_smb_share_options
484+ Optional mapping. Specify key-value pairs that will be directly added to
485+ the ``smb.conf `` (or equivalent) of a Samba server. Do *not * use this
486+ option unless you are prepared to debug the Samba instances yourself.
487+
488+ This option is meant for developers, feature investigators, and other
489+ advanced users to take more direct control of a share's options without
490+ needing to make changes to the Ceph codebase. Entries in this map should
491+ match parameters in ``smb.conf `` and their values. A special key
492+ ``_allow_customization `` must appear somewhere in the mapping with the
493+ value of ``i-take-responsibility-for-all-samba-configuration-errors `` as an
494+ indicator that the user is aware that using this option can easily break
495+ things in ways that the Ceph team can not help with. This special key will
496+ automatically be removed from the list of options passed to Samba.
468497
469498The following is an example of a share:
470499
0 commit comments