Why can I access a Samba folder share on Windows 10 but not a USB drive share?
I have a samba share to a folder on my pi. I can access it from Windows. But when I try to connect to a USB device (rather than a folder) from windows I get errors.
This is how I share the USB drive in
Comment = Pi shared folder Path = /media/pi/elfdisk02 Browseable = yes Writeable = Yes only guest = no create mask = 0777 directory mask = 0777 Public = yes Guest ok = yes
That does not work.
My folder share from
smb.conf that works looks like this:
[share] Comment = Pi shared folder Path = /share Browseable = yes Writeable = Yes only guest = no create mask = 0777 directory mask = 0777 Public = yes Guest ok = yes
I can see both shares in the Windows 10 network. Why can I access the folder
[share] but not the USB drive
[elfdisk]? If the information above is insufficient, where else on Raspberry PI should I look to fix an error of this type?
At the risk of confusing the issue, here is a bit more information:
On Windows 10 Pro I get the error "The network folder specified is currently mapped using a different user name and password.."
On Windows 10 Home I get: "You might not have permissions to access this resource."
Here is what is turned on in
[global] workgroup = WORKGROUP log file = /var/log/samba/log.%m max log size = 1000 logging = file panic action = /usr/share/samba/panic-action %d server role = standalone server obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes map to guest = bad user usershare allow guests = yes [homes] comment = Home Directories browseable = no read only = yes create mask = 0700 directory mask = 0700 valid users = %S
I am new to Samba and any help would be appreciated.