Skip to content

Commit 392d9b9

Browse files
authored
Merge pull request #531 from sac/3.0.0
Set group=samba and user.cifs=enable volume options for Samba setup
2 parents 5516d0c + e94ae43 commit 392d9b9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gdeployfeatures/volume/volume.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,9 @@ def volume_smb_setup(section_dict):
282282
if section_dict[key]:
283283
options += key + ' = ' + str(section_dict[key]) + '\n'
284284
section_dict['key'] = ['server.allow-insecure',
285-
'storage.batch-fsync-delay-usec']
286-
section_dict['value'] = ['on', 0]
285+
'storage.batch-fsync-delay-usec', 'group',
286+
'user.cifs']
287+
section_dict['value'] = ['on', 0, 'samba', 'enable']
287288
section_dict, yml = volume_set(section_dict)
288289
section_dict['service'] = 'glusterd'
289290
section_dict['state'] = 'started'

0 commit comments

Comments
 (0)