]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/smb: Add profiling configuration to global definition 61564/head
authorShweta Sodani <ssodani@redhat.com>
Wed, 29 Jan 2025 09:07:11 +0000 (14:37 +0530)
committerShweta Sodani <ssodani@redhat.com>
Tue, 4 Feb 2025 06:33:48 +0000 (12:03 +0530)
Signed-off-by: Shweta Sodani <ssodani@redhat.com>
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

index 03a13341ff74203ee233d52fa81120996adaa5b8..f4d8ac2ab5c0ef03163ba40f689f86f0caa50b2f 100644 (file)
@@ -57,6 +57,7 @@ tasks:
             "printcap name" = "/dev/null"
             "disable spoolss" = "yes"
             "guest ok" = "no"
+            "smbd profiling level" = "on"
             [globals.domain.options]
             security = "USER"
             workgroup = "STANDALONE1"
index c21a074a11cd49624380b3c24bee55eec90fca1c..a0c85249dd8f6b962d6e5823166a0c47bd8cd6b6 100644 (file)
@@ -56,6 +56,7 @@ tasks:
           "printcap name" = "/dev/null"
           "disable spoolss" = "yes"
           "guest ok" = "no"
+          "smbd profiling level" = "on"
           [globals.domain.options]
           security = "ads"
           workgroup = "DOMAIN1"
index 5adf319b2f527fbd4c34af520450aa28e82e9ba5..03be878154ebbef2b14ddf0b0a5cbe484fd23f83 100644 (file)
@@ -1285,6 +1285,7 @@ def _generate_config(
                     'printing': 'bsd',
                     'printcap name': '/dev/null',
                     'disable spoolss': 'Yes',
+                    'smbd profiling level': 'on',
                 }
             },
             cluster.cluster_id: {