Describe the bug
Unable to set fruit: model = MacPro7,1@ECOLOR=226,226,224 due to = sign being a string split token.
The command through the RPC becomes malformed:
net conf setparm global fruit:model MacPro7,1@ECOLOR 226,226,224
instead of
net conf setparm global fruit:model MacPro7,1@ECOLOR=226,226,224
To Reproduce
Steps to reproduce the behavior:
With a Samba global config optimised for MacOS
Edit advanced config textarea
Replace the fruit:model = MacSamba with fruit:model = MacPro7,1@ECOLOR=226,226,224
Save.
See error
Expected behavior
Should be able to configure Samba with fruit:model = MacPro7,1@ECOLOR=226,226,224.
Screenshots
Console Output
Firefox:
Failed to apply global settings [index.dbc23b61.js:118:8234](https://files.local:9090/cockpit/$8879ae75c6c654f271e18af0194eb8a12432d0c591039c1aa444ea3497abfe12/file-sharing/assets/index.dbc23b61.js)
<span class="font-mono text-sm whitespace-pre-wrap"><span class="font-semibold">net: </span><span> (255)</span></span>
Client Side
Desktop (please complete the following information):
OS: MacOS
Browser Firefox
Version 124.0.2
Smartphone (please complete the following information):
N/A
Server Side
debian 12 lxc container on Proxmox.
cockpit/stable,now 287-1 all [installed]
cockpit-file-sharing/focal,now 3.3.6-1focal all [installed]
Bug Info
Describe the bug Unable to set
fruit: model = MacPro7,1@ECOLOR=226,226,224
due to=
sign being a string split token. The command through the RPC becomes malformed:net conf setparm global fruit:model MacPro7,1@ECOLOR 226,226,224
instead ofnet conf setparm global fruit:model MacPro7,1@ECOLOR=226,226,224
To Reproduce Steps to reproduce the behavior:
fruit:model = MacSamba
withfruit:model = MacPro7,1@ECOLOR=226,226,224
Expected behavior Should be able to configure Samba with
fruit:model = MacPro7,1@ECOLOR=226,226,224
.Screenshots
Console Output
Client Side
Desktop (please complete the following information):
Smartphone (please complete the following information): N/A
Server Side