I have set up SMB shares on my Raspberry Pi and connect to it via it's hostname \\raspberrypi\shared
which is working correctly with my Windows 7 machine.
But the Windows 10 machine refuses to connect, telling that the user or password is incorrect.
However if I use the IP address of the raspberry Pi instead of it's hostname there is no problem connecting: \\192.168.0.112\shared
But it's cumbersome to ping -4 raspberrypi
every time, to find out it's IP address.
I remember having the same problem with a Windows 8.1 machine.
Is there something different in smb client of Windows 10 compared to Windows 7?
Can it be changed in the smb config?
SMB1.0/CIFS file sharing support (client) is enabled in Windows 10
Config:
[global]
workgroup = workgroup
server string = MY-SERVER
security = user
map to guest = Bad User
username map = /etc/samba/smbusers
guest ok = yes
allow insecure wide links = yes
unix extensions = no
log level = 3
[to_password_protected_folder]
path = /home/pi
writeable = yes
valid users = pi
[shared]
path = /home/shared
writeable = yes
force user = pi
follow symlinks = yes