Samba add-on v8

I just upgraded my Samba add-on to version 8.
Everything is fine but it changed my config entry which was at least partly expected when looking at the changelog. Reading the docs the ONLY config entries documented are:

{
  "workgroup": "WORKGROUP",
  "username": "",
  "password": "",
  "interface": "eth0",
  "allow_hosts": [
      "10.0.0.0/8",
      "172.16.0.0/12",
      "192.168.0.0/16"
  ]
}

Is this accurate? I only ask because I have come across documentation which doesn’t document all possible entries and I still have other entries at the end of my Samba config. I know that “guest” is, but are “name” and “map” also obsolete?

{
  "workgroup": "WORKGROUP",
  "username": "blah blah",
  "password": "blah blah",
  "interface": "",
  "allow_hosts": [
    "10.0.0.0/8",
    "172.16.0.0/12",
    "192.168.0.0/16"
  ],
  "name": "hassio",
  "guest": false,
  "map": {
    "config": true,
    "addons": true,
    "ssl": false,
    "share": true,
    "backup": true
  }
}

looks like the name is identical to the host name now and all “map” entries are now true by default.

The upgrade to V8 broke mine, it won’t start and the log looks like this:

Processing section “[config]”
Processing section “[addons]”
Processing section “[share]”
Processing section “[backup]”
‘spoolss’ is not a registered pipe!
Could not find child 3898 – ignoring
Could not find child 3900 – ignoring
Could not find child 3902 – ignoring

looks like the section “[ssl]” is missing for you…

did you reset the add-ons options and re-added your username and password? i did and it works as expected.

With samba v8 how can you have two instances of hassio available on different shares? I have a test hassio install on another pi with name: hasstest, how do I manage this?

If the test system’s host name is “hasstest” you should be able to access it using \\hasstest\ in the file browser of your choice

ah ok, so you can change the host name in the hass.io system tab, I never noticed this. Thanks


I click START and nothing happened… Samba share not start… Earlier version working correctly… How fix?

Please click the log refresh button and post the logged detailes. if nothing appears the check the log under hassio \ system

At :8123/hassio/addon/core_samba logs are blank.
At :8123/dev-info and :8123/hassio/system no errors about samba… :frowning:

i think you need to setup a password

2 Likes

@dmitry.mukhach Listen to @pergola.fabio. He is correct. You need to put in a password. JSON does not except null as a valid attribute. Place a password in quotes next to password, just like username.

yes, that wasnt needed before, guest was allowed, now in newer versions not anymore

1 Like

Yes, thanks! It helped!!! No more guest in new version! :slight_smile: