Skip to content

Commit a99f005

Browse files
authored
Merge pull request ceph#63399 from Shwetha-Acharya/share_config_update
mgr/smb: Add new configs to share definition Reviewed-by: Adam King <[email protected]> Reviewed-by: John Mulligan <[email protected]>
2 parents 95ca3c5 + 7428818 commit a99f005

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

qa/suites/orch/cephadm/smb/tasks/deploy_smb_basic.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ tasks:
5151
"kernel share modes" = "no"
5252
"read only" = "no"
5353
"browseable" = "yes"
54+
"comment" = ""
55+
"max connections" = "0"
5456
[globals.default.options]
5557
"load printers" = "no"
5658
"printing" = "bsd"

qa/suites/orch/cephadm/smb/tasks/deploy_smb_domain.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ tasks:
5050
"kernel share modes" = "no"
5151
"read only" = "no"
5252
"browseable" = "yes"
53+
"comment" = ""
54+
"max connections" = "0"
5355
[globals.default.options]
5456
"load printers" = "no"
5557
"printing" = "bsd"

src/pybind/mgr/smb/handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,8 @@ def _generate_share(
11961196
'browseable': ynbool(share.browseable),
11971197
'kernel share modes': 'no',
11981198
'x:ceph:id': f'{share.cluster_id}.{share.share_id}',
1199+
'comment': '',
1200+
'max connections': '0',
11991201
}
12001202
}
12011203
if proxy_val:

0 commit comments

Comments
 (0)