@Fredrik_Jacobsson wrote:
Hi,
I have problem with connection to Hassio via Samba.
I have following confoguration.{ "workgroup": "FREDDAGROUP", "username": "Fredda", "password": "Secret", "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" ] }
And this how the logfile looks like:
[08:14:46] INFO: Hostname: Fredda-Hassio 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 Fredda. 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 eno1 ip=10.0.1.3 bcast=10.0.1.255 netmask=255.255.255.0 added interface hassio ip=172.30.32.1 bcast=172.30.33.255 netmask=255.255.254.0 making subnet name:172.30.32.1 Broadcast address:172.30.33.255 Subnet mask:255.255.254.0 making subnet name:10.0.1.3 Broadcast address:10.0.1.255 Subnet mask:255.255.255.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 eno1 ip=10.0.1.3 bcast=10.0.1.255 netmask=255.255.255.0 added interface hassio ip=172.30.32.1 bcast=172.30.33.255 netmask=255.255.254.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
But I can not connect to Hassio from my windows machine.
Do I need to specify the “interface”?
How do I know what the interface is?
I’m running Hassio in a Docker on a Ubuntu machine.
Posts: 4
Participants: 2