Inorder to support Microsoft Management Console (MMC) plugin feature,
ceph manager must handle all fields supported by `add share command`
and related smb.conf options.
Added "comment" and "max connections" entries to the Samba
configuration generated by the Ceph Manager module. These fields
are required for MMC integration and will be made configurable in a
future update.
Signed-off-by: Shwetha K Acharya <Shwetha.K.Acharya@ibm.com>
(cherry picked from commit
74288183964c4d02a7528ab9fdf21c518930b401)
"kernel share modes" = "no"
"read only" = "no"
"browseable" = "yes"
+ "comment" = ""
+ "max connections" = "0"
[globals.default.options]
"load printers" = "no"
"printing" = "bsd"
"kernel share modes" = "no"
"read only" = "no"
"browseable" = "yes"
+ "comment" = ""
+ "max connections" = "0"
[globals.default.options]
"load printers" = "no"
"printing" = "bsd"
'browseable': ynbool(share.browseable),
'kernel share modes': 'no',
'x:ceph:id': f'{share.cluster_id}.{share.share_id}',
+ 'comment': '',
+ 'max connections': '0',
}
}
if proxy_val: