Samba Share Not opening files

Hi all,

I am having an issue with samba share I have installed it added user name and password it seems to be starting ok but when I try to connect through windows network I get an error message saying I do not have permission to open the file.

Th odd thing is I have used samba previously as in yesterday with no issues. Due to some other problems I have just Carried out a reinstall of ha and all its add ons.

I have done nothing different with this install that I did last time.

Any Ideas I am stuck. Thanks

You likely got the 0.92.0 version that was just released. That would be considered a major change.

Looking at the system info I am running 0.92.0 is there any documentation on this update that may explain the issue?

Thanks

I can not get access no matter what I try.

The log for samba looks like this

[INFO] Read hostname: 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 samba. nmbd version 4.8.8 started. Copyright Andrew Tridgell and the Samba Team 1992-2018 Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED added interface eth0 ip=2a00:23c4:7113:e500:74de:277c:87b6:28df bcast= netmask=ffff:ffff:ffff:ffff:: added interface eth0 ip=fdaa:bbcc:ddee:0:589d:6f73:39a4:b7f bcast= netmask=ffff:ffff:ffff:ffff:: added interface eth0 ip=192.168.1.114 bcast=192.168.1.255 netmask=255.255.255.0 making subnet name:192.168.1.114 Broadcast address:192.168.1.255 Subnet mask:255.255.255.0 create_subnets: ignoring non IPv4 interface. 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 load_lmhosts_file: Can’t open lmhosts file /etc/samba/lmhosts. Error was No such file or directory daemon_ready: STATUS=daemon ‘nmbd’ finished starting up and ready to serve connections smbd version 4.8.8 started. Copyright Andrew Tridgell and the Samba Team 1992-2018 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 eth0 ip=2a00:23c4:7113:e500:74de:277c:87b6:28df bcast= netmask=ffff:ffff:ffff:ffff:: added interface eth0 ip=fdaa:bbcc:ddee:0:589d:6f73:39a4:b7f bcast= netmask=ffff:ffff:ffff:ffff:: added interface eth0 ip=192.168.1.114 bcast=192.168.1.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: STATUS=daemon ‘smbd’ finished starting up and ready to serve connections waiting for connections check_for_master_browser_fail: Forcing election on workgroup WORKGROUP subnet 192.168.1.114 send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.114 send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.114 send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.114 send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.114 send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.1.114 run_elections: >>> Won election for workgroup WORKGROUP on subnet 192.168.1.114 <<< become_local_master_browser: Starting to become a master browser for workgroup WORKGROUP on subnet 192.168.1.114 ***** Samba name server HASSIO is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.114 *****`

Thanks

Same issue on VIrtual Machine installed on synology

I got it working by reinstalling samba it then stopped working after a while and reboot of the laptop I was using solved the issue.