@Suggorath wrote:
Hi, two days I am struggling with the Samba Share addon, and still not work. I tryed connect to server with address in file explorer \\192.168.100.103\config but nothing happened. Already tryed change 128bit to 40-56bit encryption with same result. Samba v1 is manualy installed on Win 10.
Hardware
Raspberry Pi 4 Model B 2GB
PC - Windows 10 Pro 1909HassOS
- version: 3.12 - 32 bit
- deployment: production
- hostname: homeassistant
Home Assistant
- version: 0.106.5
Samba Share
- version - 9.0
- samba config:
workgroup: HOME username: Suggorath password: hass interface: '' allow_hosts: - 10.0.0.0/8 - 172.16.0.0/12 - 192.168.0.0/16 veto_files: - ._* - .DS_Store - Thumbs.db - icon? - .Trashes
Note: Already tryed “interface: eth0” without success.
- samba log:
[21:30:42] INFO: Hostname: homeassistant Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED 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. tdb(/var/lib/samba/winbindd_idmap.tdb): tdb_open_ex: could not open file /var/lib/samba/winbindd_idmap.tdb: No such file or directory tdb(/var/lib/samba/account_policy.tdb): tdb_open_ex: could not open file /var/lib/samba/account_policy.tdb: No such file or directory 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 Suggorath. nmbd version 4.10.8 started. Copyright Andrew Tridgell and the Samba Team 1992-2019 Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED 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 eth0 ip=192.168.100.103 bcast=192.168.100.255 netmask=255.255.255.0 making subnet name:192.168.100.103 Broadcast address:192.168.100.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 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 load_lmhosts_file: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections smbd version 4.10.8 started. Copyright Andrew Tridgell and the Samba Team 1992-2019 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]" 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 eth0 ip=192.168.100.103 bcast=192.168.100.255 netmask=255.255.255.0 INFO: Profiling support unavailable in this build. No builtin backend found, trying to load plugin tdb(/var/lib/samba/registry.tdb): tdb_open_ex: could not open file /var/lib/samba/registry.tdb: No such file or directory daemon_ready: daemon 'smbd' finished starting up and ready to serve connections waiting for connections check_for_master_browser_fail: Forcing election on workgroup HOME subnet 172.17.0.1 check_for_master_browser_fail: Forcing election on workgroup HOME subnet 172.30.32.1 check_for_master_browser_fail: Forcing election on workgroup HOME subnet 192.168.100.103 send_election_dgram: Sending election packet for workgroup HOME on subnet 172.17.0.1 send_election_dgram: Sending election packet for workgroup HOME on subnet 172.30.32.1 send_election_dgram: Sending election packet for workgroup HOME on subnet 192.168.100.103 send_election_dgram: Sending election packet for workgroup HOME on subnet 172.17.0.1 send_election_dgram: Sending election packet for workgroup HOME on subnet 172.30.32.1 send_election_dgram: Sending election packet for workgroup HOME on subnet 192.168.100.103 send_election_dgram: Sending election packet for workgroup HOME on subnet 172.17.0.1 send_election_dgram: Sending election packet for workgroup HOME on subnet 172.30.32.1 send_election_dgram: Sending election packet for workgroup HOME on subnet 192.168.100.103 send_election_dgram: Sending election packet for workgroup HOME on subnet 172.17.0.1 send_election_dgram: Sending election packet for workgroup HOME on subnet 172.30.32.1 send_election_dgram: Sending election packet for workgroup HOME on subnet 192.168.100.103 send_election_dgram: Sending election packet for workgroup HOME on subnet 172.17.0.1 run_elections: >>> Won election for workgroup HOME on subnet 172.17.0.1 <<< become_local_master_browser: Starting to become a master browser for workgroup HOME on subnet 172.17.0.1 send_election_dgram: Sending election packet for workgroup HOME on subnet 172.30.32.1 run_elections: >>> Won election for workgroup HOME on subnet 172.30.32.1 <<< become_local_master_browser: Starting to become a master browser for workgroup HOME on subnet 172.30.32.1 send_election_dgram: Sending election packet for workgroup HOME on subnet 192.168.100.103 run_elections: >>> Won election for workgroup HOME on subnet 192.168.100.103 <<< become_local_master_browser: Starting to become a master browser for workgroup HOME on subnet 192.168.100.103
System log:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0. [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] udev.sh: executing... [19:34:03] INFO: Update udev informations [cont-init.d] udev.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. 20-03-10 19:34:06 INFO (MainThread) [__main__] Initialize Supervisor setup 20-03-10 19:34:06 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attach to Supervisor homeassistant/armv7-hassio-supervisor with version 209 20-03-10 19:34:07 INFO (MainThread) [__main__] Setup Supervisor 20-03-10 19:34:07 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.systemd1 - /org/freedesktop/systemd1 20-03-10 19:34:07 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.hostname1 - /org/freedesktop/hostname1 20-03-10 19:34:07 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: de.pengutronix.rauc - / 20-03-10 19:34:07 INFO (MainThread) [supervisor.utils.gdbus] Connect to dbus: org.freedesktop.NetworkManager - /org/freedesktop/NetworkManager/DnsManager 20-03-10 19:34:07 INFO (MainThread) [supervisor.host.info] Update local host information 20-03-10 19:34:07 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1 20-03-10 19:34:07 INFO (MainThread) [supervisor.host.services] Update service information 20-03-10 19:34:07 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1 20-03-10 19:34:07 INFO (MainThread) [supervisor.host.network] Update local network DNS information 20-03-10 19:34:07 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager 20-03-10 19:34:07 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information 20-03-10 19:34:07 INFO (MainThread) [supervisor.host.apparmor] Load AppArmor Profiles: {'hassio-supervisor'} 20-03-10 19:34:07 INFO (MainThread) [supervisor.host.services] Reload local service hassos-apparmor.service 20-03-10 19:34:07 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ReloadOrRestartUnit on /org/freedesktop/systemd1 20-03-10 19:34:07 INFO (SyncWorker_1) [supervisor.docker.interface] Attach to homeassistant/armv7-hassio-dns with version 1 20-03-10 19:34:07 INFO (SyncWorker_2) [supervisor.docker.interface] Attach to homeassistant/armv7-hassio-audio with version 8 20-03-10 19:34:07 INFO (MainThread) [supervisor.misc.forwarder] Start DNS port forwarding to 172.30.32.3 20-03-10 19:34:07 INFO (MainThread) [supervisor.dns] Start CoreDNS plugin 20-03-10 19:34:07 INFO (MainThread) [supervisor.audio] Start Audio plugin 20-03-10 19:34:07 INFO (SyncWorker_2) [supervisor.docker.interface] Clean hassio_audio application 20-03-10 19:34:07 INFO (SyncWorker_4) [supervisor.docker.interface] Clean hassio_dns application 20-03-10 19:34:09 INFO (SyncWorker_4) [supervisor.docker.dns] Start DNS homeassistant/armv7-hassio-dns with version 1 - 172.30.32.3 20-03-10 19:34:09 INFO (SyncWorker_2) [supervisor.docker.audio] Start Audio homeassistant/armv7-hassio-audio with version 8 - 172.30.32.4 20-03-10 19:34:09 INFO (SyncWorker_1) [supervisor.docker.interface] Attach to homeassistant/raspberrypi4-homeassistant with version 0.106.5 20-03-10 19:34:09 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on / 20-03-10 19:34:09 INFO (MainThread) [supervisor.hassos] Detect HassOS 3.12 / BootSlot A 20-03-10 19:34:09 INFO (SyncWorker_0) [supervisor.docker.hassos_cli] Found HassOS CLI homeassistant/armv7-hassio-cli with version 21 20-03-10 19:34:10 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/git/a0d7b954 repository 20-03-10 19:34:10 INFO (MainThread) [supervisor.store.git] Load add-on /data/addons/core repository 20-03-10 19:34:10 INFO (MainThread) [supervisor.store] Load add-ons from store: 64 all - 64 new - 0 remove 20-03-10 19:34:10 INFO (MainThread) [supervisor.addons] Found 2 installed add-ons 20-03-10 19:34:10 INFO (SyncWorker_4) [supervisor.docker.interface] Attach to homeassistant/armv7-addon-configurator with version 4.7 20-03-10 19:34:10 INFO (SyncWorker_9) [supervisor.docker.interface] Attach to homeassistant/armv7-addon-samba with version 9.0 20-03-10 19:34:10 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json 20-03-10 19:34:10 INFO (MainThread) [supervisor.snapshots] Found 0 snapshot files 20-03-10 19:34:10 INFO (MainThread) [supervisor.discovery] Load 0 messages 20-03-10 19:34:10 INFO (MainThread) [supervisor.ingress] Load 2 ingress session 20-03-10 19:34:10 INFO (MainThread) [supervisor.secrets] Load Home Assistant secrets: 1 20-03-10 19:34:10 INFO (MainThread) [__main__] Run Supervisor 20-03-10 19:34:10 INFO (MainThread) [supervisor.api] Start API on 172.30.32.2 20-03-10 19:34:10 INFO (MainThread) [supervisor.utils.gdbus] Call de.pengutronix.rauc.Installer.Mark on / 20-03-10 19:34:10 INFO (MainThread) [supervisor.hassos] Rauc: A - marked slot kernel.0 as good 20-03-10 19:34:10 INFO (MainThread) [supervisor.addons] Phase 'initialize' start 0 add-ons 20-03-10 19:34:10 INFO (MainThread) [supervisor.addons] Phase 'system' start 0 add-ons 20-03-10 19:34:10 INFO (MainThread) [supervisor.addons] Phase 'services' start 1 add-ons 20-03-10 19:34:11 INFO (SyncWorker_12) [supervisor.docker.addon] Start Docker add-on homeassistant/armv7-addon-samba with version 9.0 20-03-10 19:34:16 INFO (SyncWorker_15) [supervisor.docker.interface] Start homeassistant/raspberrypi4-homeassistant 20-03-10 19:35:15 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance 20-03-10 19:35:15 INFO (MainThread) [supervisor.addons] Phase 'application' start 1 add-ons 20-03-10 19:35:16 INFO (SyncWorker_3) [supervisor.docker.addon] Start Docker add-on homeassistant/armv7-addon-configurator with version 4.7 20-03-10 19:35:21 INFO (MainThread) [supervisor.tasks] All core tasks are scheduled 20-03-10 19:35:21 INFO (MainThread) [supervisor.hwmon] Started Supervisor hardware monitor 20-03-10 19:35:21 INFO (MainThread) [supervisor.core] Supervisor is up and running 20-03-10 19:35:21 INFO (MainThread) [supervisor.host.info] Update local host information 20-03-10 19:35:21 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1 20-03-10 19:35:21 INFO (MainThread) [supervisor.updater] Fetch update data from https://version.home-assistant.io/stable.json 20-03-10 19:35:22 INFO (MainThread) [supervisor.host.services] Update service information 20-03-10 19:35:22 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1 20-03-10 19:35:22 INFO (MainThread) [supervisor.host.network] Update local network DNS information 20-03-10 19:35:22 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager 20-03-10 19:35:22 INFO (MainThread) [supervisor.host.sound] Update PulseAudio informationSystem log
Posts: 4
Participants: 3