I have a virtual machine running ubuntu and I am trying to host some files on ubuntu and map the drive in windows PC.
Following the steps here, I am able to see (from windows) the "work" folder after typing in \ubuntu_ip. But when trying to access or map it with "svc_acct" from windows, I get "0x80070043 error the network name cannot be found". I guess I am not accessing correctly from windows.
SAMBA config below (svc_acct is an account set up under linux). When accessing the folder from windows, I get prompted for username/password. Not sure what credential to type in exactly.
samba config:
[work]
path = /home/svc_acct/work
valid users = svc_acct
available = yes
read only = no
browsable = yes
public = yes
writable = yes
force user = svc_acct
create mask = 0777
directory mask = 0777
UPDATE:
All I did to resolve this is by changing samba config's path from path = /home/svc_acct/work to path = /home/svc_acct following this post (last sentence). Then no more prompt for password in windows when I try to click into the folder. Thanks to @sancho.s for suggesting the link.