I have a Debian Stretch server setup for a few years now, with samba install with shares configured the shares are accessible from both windows 7 and 10 computers when using the network paths directly.
But today I thought I would add one of the shares as a drive letter under windows 7 and 10, neither of which worked both give the same errors as access denied, credentials are asked for, this I expected as credentials are requested when accessing the shares via the network path such as \servername\sharename, when the credentials are provided here however access is granted, but via the network drive they are not.
Is this a Windows issue or a Linux issue, I am unsure how to go about debugging this, when one method works, but the other does not.
The contents of smb.conf is as follows: -
[global] interfaces = 127.0.0.0/8 enp30s0 server string = %h server (Samba, Debian) log file = /var/log/samba/%m.log max log size = 50 syslog = 0 panic action = /usr/share/samba/panic-action %d usershare allow guests = Yes map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passdb backend = smbpasswd passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . passwd program = /usr/bin/passwd %u security = USER server role = standalone server unix password sync = Yes dns proxy = No idmap config * : backend = tdb hosts allow = 192.168.0. 192.168.1. 192.168.2. 127.0.0.1 [homes] comment = Home Directories browseable = No create mask = 0775 directory mask = 0775 read only = No [media] comment = "/media" path = /media create mask = 0644 read only = No [mnt] comment = "/mnt" path = /mnt create mask = 0644 read only = No