Samba not working between HA and Mac

I have HomeAssistant on VMM on Synology DS220+ i installed Samba, but on my mac i can not find Home Assistant (and as there is no other option to have access to files from HA i must have Samba).
HA is on 192.168.1.58 I don’t see my HA even when saying connect. So what could be wrong? See attachment.
Log:
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] samba.sh: executing…
[16:57:55] INFO: Hostname: homeassistant
No builtin backend found, trying to load plugin
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
account_policy_get: tdb_fetch_uint32_t failed for type 1 (min password length), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 2 (password history), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 3 (user must logon to change password), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 4 (maximum password age), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 5 (minimum password age), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 6 (lockout duration), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 7 (reset count minutes), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 8 (bad lockout attempt), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 9 (disconnect time), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 10 (refuse machine password change), returning 0
Added user homeassistant.
[cont-init.d] samba.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
nmbd version 4.12.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Registered MSG_REQ_POOL_USAGE
added interface enp0s3 ip=2a02:a456:c6db:1:6fad:b885:f69c:3b83 bcast= netmask=ffff:ffff:ffff:ffff::
added interface docker0 ip=172.17.0.1 bcast=172.17.255.255 netmask=255.255.0.0
added interface hassio ip=172.30.32.1 bcast=172.30.33.255 netmask=255.255.254.0
added interface enp0s3 ip=192.168.1.58 bcast=192.168.1.255 netmask=255.255.255.0
making subnet name:192.168.1.58 Broadcast address:192.168.1.255 Subnet mask:255.255.255.0
making subnet name:172.30.32.1 Broadcast address:172.30.33.255 Subnet mask:255.255.254.0
making subnet name:172.17.0.1 Broadcast address:172.17.255.255 Subnet mask:255.255.0.0
create_subnets: ignoring non IPv4 interface.
making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
daemon_ready: daemon ‘nmbd’ finished starting up and ready to serve connections
[services.d] done.
smbd version 4.12.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Processing section “[config]”
Processing section “[addons]”
Processing section “[ssl]”
Processing section “[share]”
Processing section “[backup]”
Processing section “[media]”
added interface enp0s3 ip=2a02:a456:c6db:1:6fad:b885:f69c:3b83 bcast= netmask=ffff:ffff:ffff:ffff::
added interface docker0 ip=172.17.0.1 bcast=172.17.255.255 netmask=255.255.0.0
added interface hassio ip=172.30.32.1 bcast=172.30.33.255 netmask=255.255.254.0
added interface enp0s3 ip=192.168.1.58 bcast=192.168.1.255 netmask=255.255.255.0
INFO: Profiling support unavailable in this build.
Registered MSG_REQ_POOL_USAGE
No builtin backend found, trying to load plugin
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_POOL_USAGE
daemon_ready: daemon ‘smbd’ finished starting up and ready to serve connections
waiting for connections
check_for_master_browser_fail: Forcing election on workgroup WALBERG subnet 172.17.0.1
check_for_master_browser_fail: Forcing election on workgroup WALBERG subnet 172.30.32.1
check_for_master_browser_fail: Forcing election on workgroup WALBERG subnet 192.168.1.58
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 172.17.0.1
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 172.30.32.1
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 192.168.1.58
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 172.17.0.1
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 172.30.32.1
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 192.168.1.58
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 172.17.0.1
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 172.30.32.1
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 192.168.1.58
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 172.17.0.1
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 172.30.32.1
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 192.168.1.58
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 172.17.0.1
run_elections: >>> Won election for workgroup WALBERG on subnet 172.17.0.1 <<<
become_local_master_browser: Starting to become a master browser for workgroup WALBERG on subnet 172.17.0.1
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 172.30.32.1
run_elections: >>> Won election for workgroup WALBERG on subnet 172.30.32.1 <<<
become_local_master_browser: Starting to become a master browser for workgroup WALBERG on subnet 172.30.32.1
send_election_dgram: Sending election packet for workgroup WALBERG on subnet 192.168.1.58
run_elections: >>> Won election for workgroup WALBERG on subnet 192.168.1.58 <<<
become_local_master_browser: Starting to become a master browser for workgroup WALBERG on subnet 192.168.1.58


Samba name server HOMEASSISTANT is now a local master browser for workgroup WALBERG on subnet 172.17.0.1



Samba name server HOMEASSISTANT is now a local master browser for workgroup WALBERG on subnet 172.30.32.1



Samba name server HOMEASSISTANT is now a local master browser for workgroup WALBERG on subnet 192.168.1.58


I could not insert file,

See attachment config

Please share your samba configuration file, but please leave all commented-out text that is potentially present in this file.

workgroup: WALBERG
username:
password:
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: true

The settings for the share are missing, let me see where I found the relevant info last time…

Have a look here: Install and Configure Samba | Ubuntu

And, there should also be a way to set the default access rights, see the first answer in this topic: How to create a Samba share that is writable from Windows without 777 permissions? - Unix & Linux Stack Exchange

Click command-K in your finder and add smb://<ip_homeassistant>.
Fill in your credentials from HA

1 Like

Yes, that works. Browse did not. Thanks