Hi All! I’m trying to setup Samba share but after many attempts I am unable to get it running and visible on my PC.
Here is my configuration:
username: HASS
password: Password
workgroup: WORKGROUP
compatibility_mode: false
veto_files:
- ._*
- .DS_Store
- Thumbs.db
- icon?
- .Trashes
allow_hosts:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
- fe80::/10
And with that configuration I get this in my logs
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/samba.sh
[16:43:39] INFO: Hostname: homeassistant
[16:43:40] INFO: Interfaces: eth0 wlan0
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 HASS.
cont-init: info: /etc/cont-init.d/samba.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun nmbd (no readiness notification)
services-up: info: copying legacy longrun smbd (no readiness notification)
s6-rc: info: service legacy-services successfully started
added interface eth0 ip=fdc9:e854:c54d:b5fd:8764:da2:d462:e479 bcast= netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=192.168.86.39 bcast=192.168.86.255 netmask=255.255.255.0
added interface eth0 ip=fdc9:e854:c54d:b5fd:8764:da2:d462:e479 bcast= netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=192.168.86.39 bcast=192.168.86.255 netmask=255.255.255.0
interpret_interface: Can't find address for wlan0
interpret_interface: Can't find address for wlan0
smbd version 4.16.10 started.
Copyright Andrew Tridgell and the Samba Team 1992-2022
uid=0 gid=0 euid=0 egid=0
nmbd version 4.16.10 started.
Copyright Andrew Tridgell and the Samba Team 1992-2022
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
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 eth0 ip=fdc9:e854:c54d:b5fd:8764:da2:d462:e479 bcast= netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=192.168.86.39 bcast=192.168.86.255 netmask=255.255.255.0
Registered MSG_REQ_POOL_USAGE
interpret_interface: Can't find address for wlan0
INFO: Profiling support unavailable in this build.
added interface eth0 ip=fdc9:e854:c54d:b5fd:8764:da2:d462:e479 bcast= netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=192.168.86.39 bcast=192.168.86.255 netmask=255.255.255.0
Registered MSG_REQ_POOL_USAGE
No builtin backend found, trying to load plugin
interpret_interface: Can't find address for wlan0
making subnet name:192.168.86.39 Broadcast address:192.168.86.255 Subnet mask:255.255.255.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
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_POOL_USAGE
waiting for connections
check_for_master_browser_fail: Forcing election on workgroup WORKGROUP subnet 192.168.86.39
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.86.39
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.86.39
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.86.39
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.86.39
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.86.39
run_elections: >>> Won election for workgroup WORKGROUP on subnet 192.168.86.39 <<<
become_local_master_browser: Starting to become a master browser for workgroup WORKGROUP on subnet 192.168.86.39
*****
Samba name server HOMEASSISTANT is now a local master browser for workgroup WORKGROUP on subnet 192.168.86.39
*****
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_POOL_USAGE
Could not find child 155 -- ignoring
To me, I don’t know much yet, it looks like it should be up and running?
But even after enabling network sharing, making hidden objects on the network show, I cannot find this folder.
I have quite a few “other devices” and “Media players” visible on my network, including one called home assistant that when I click on it, it opens a browser with my HASS instance. But nothing that is from samba share.
I’ve watched 4-5 different videos several times, uninstalled, reinstalled, restart, reset, reboot, you name it (the obvious stuff I at least), I’ve probably tried it.
Any help is greatly appreciated.