File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed
qa/suites/orch/cephadm/smb/tasks Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,15 @@ tasks:
4343 globals = ["default", "domain"]
4444 instance_name = "SAMBA"
4545 [shares.share1.options]
46- "vfs objects" = "ceph"
46+ "vfs objects" = "acl_xattr ceph"
4747 path = "/"
48+ "acl_xattr:security_acl_name" = "user.NTACL"
4849 "ceph:config_file" = "/etc/ceph/ceph.conf"
4950 "ceph:user_id" = "smbdata"
5051 "kernel share modes" = "no"
5152 "read only" = "no"
5253 "browseable" = "yes"
5354 [globals.default.options]
54- "server min protocol" = "SMB2"
5555 "load printers" = "no"
5656 "printing" = "bsd"
5757 "printcap name" = "/dev/null"
Original file line number Diff line number Diff line change @@ -42,15 +42,15 @@ tasks:
4242 globals = ["default", "domain"]
4343 instance_name = "SAMBA"
4444 [shares.share1.options]
45- "vfs objects" = "ceph"
45+ "vfs objects" = "acl_xattr ceph"
4646 path = "/"
47+ "acl_xattr:security_acl_name" = "user.NTACL"
4748 "ceph:config_file" = "/etc/ceph/ceph.conf"
4849 "ceph:user_id" = "smbdata"
4950 "kernel share modes" = "no"
5051 "read only" = "no"
5152 "browseable" = "yes"
5253 [globals.default.options]
53- "server min protocol" = "SMB2"
5454 "load printers" = "no"
5555 "printing" = "bsd"
5656 "printcap name" = "/dev/null"
Original file line number Diff line number Diff line change @@ -1043,7 +1043,8 @@ def _generate_share(
10431043 # smb.conf options
10441044 'options' : {
10451045 'path' : path ,
1046- "vfs objects" : "ceph" ,
1046+ "vfs objects" : "acl_xattr ceph" ,
1047+ 'acl_xattr:security_acl_name' : 'user.NTACL' ,
10471048 'ceph:config_file' : '/etc/ceph/ceph.conf' ,
10481049 'ceph:filesystem' : share .cephfs .volume ,
10491050 'ceph:user_id' : cephx_entity ,
@@ -1134,7 +1135,6 @@ def _generate_config(
11341135 'globals' : {
11351136 'default' : {
11361137 'options' : {
1137- 'server min protocol' : 'SMB2' ,
11381138 'load printers' : 'No' ,
11391139 'printing' : 'bsd' ,
11401140 'printcap name' : '/dev/null' ,
Original file line number Diff line number Diff line change @@ -421,7 +421,8 @@ def test_share_dump_config(tmodule):
421421 'browseable' : 'Yes' ,
422422 'kernel share modes' : 'no' ,
423423 'x:ceph:id' : 'foo.s1' ,
424- 'vfs objects' : 'ceph' ,
424+ 'vfs objects' : 'acl_xattr ceph' ,
425+ 'acl_xattr:security_acl_name' : 'user.NTACL' ,
425426 'ceph:config_file' : '/etc/ceph/ceph.conf' ,
426427 'ceph:filesystem' : 'cephfs' ,
427428 'ceph:user_id' : 'smb.fs.cluster.foo' ,
@@ -434,7 +435,8 @@ def test_share_dump_config(tmodule):
434435 'browseable' : 'Yes' ,
435436 'kernel share modes' : 'no' ,
436437 'x:ceph:id' : 'foo.stwo' ,
437- 'vfs objects' : 'ceph' ,
438+ 'vfs objects' : 'acl_xattr ceph' ,
439+ 'acl_xattr:security_acl_name' : 'user.NTACL' ,
438440 'ceph:config_file' : '/etc/ceph/ceph.conf' ,
439441 'ceph:filesystem' : 'cephfs' ,
440442 'ceph:user_id' : 'smb.fs.cluster.foo' ,
@@ -444,7 +446,6 @@ def test_share_dump_config(tmodule):
444446 'globals' : {
445447 'default' : {
446448 'options' : {
447- 'server min protocol' : 'SMB2' ,
448449 'load printers' : 'No' ,
449450 'printing' : 'bsd' ,
450451 'printcap name' : '/dev/null' ,
You can’t perform that action at this time.
0 commit comments