Unable to edit Samba Share config in UI

I just installed Samba Share and I simply cannot edit the config in the UI. Whenever I click on Save the config reverts to the default.

  • Is there something I missed in the install?
  • Is there a way to edit it other than through the UI?

You probably specified a wrong config somewhere.
Maybe a screenshot with password hidden if there is any…

You should normally only have to add a user and password. Are you changing anything else?

workgroup: WORKGROUP
username: myuser
password: mypassword
interface: ''
allow_hosts:
  - 10.0.0.0/8
  - 172.16.0.0/12
  - 192.168.0.0/16
  - 'fe80::/10'
veto_files:
  - ._*
  - .DS_Store
  - Thumbs.db
  - icon?
  - .Trashes
compatibility_mode: false

The problem is that I can’t edit the default config. As you can see from the screenshot below, the current settings are the defaults.
Screenshot 2021-03-19 043439

I have Google Wifi so I need to change the allow_hosts to include 192.168.xx.0
I have tried to change password to something more secure.

I leave everything else as default.

When I try to start Samba I get the following error, so I can’t even use it in an insecure manner.

192.168.0.0/16 includes 192.168.xxx.0

Change the password and save the file

I can’t. Even if I only try to change the password, when I click on the Save button, the password value reverts to the initial value.

If the file will not save it is usually because it has a syntax error. What is the content of the file you are trying to save?

Are there any special characters in your proposed password?

No. I can try simple passwords such as 12345 as a test.

Is the user you are logged into HA with an owner?

yes.

I just tried inputting the password as a string, as in ‘12345’, and it worked. I do not see anything in the docs to indicate that the password has to be entered as a string. Is this correct?

I have mine without quoting, but it contains numbers and letters.

Can you now access the files over the network (eg from a windows machine)?

yes, i can now access files over the network.