I am trying to connect to a Windows Share folder. I can see it on my network, but when I enter the address of the share folder, for example smb://Server-Raid/OneDrive, I get an error message stating that I do not have permission to access it.
I have set my Windows Share folder to use a username and password in order to be accessed over the network, however I get no option to add it when connecting from my Ubuntu PC (tried Nautilus and Nemo), plus I am not prompted to add any credentials either.
Is there any way I can connect to a Windows Share folder that uses a user name and password? I can connect if I open up the Windows Share folder to 'everyone', however this is not ideal.
I should be getting a prompt from Nautilus when trying to access the Windows share drive, but none shows, I just get the permissions error.
Is there a way to access using terminal command?
I found this work-around here
Unfortunately, the auto-mount fails too, even though I have created a credentials file and added automount to the fstab.
//Server-Raid/OneDrive /home/pst007x/onedrive cifs credentials=/home/pst007x/.smbcred,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0
I created a .smbcred with the information (my windows login):
username=MyUsername
password=MyPassword
I can access fine from other windows PC's, they ask for the credentials, and I can remote in using Remmina.
Error when accessing folder:
Unable to access 'onedrive'
Mount.Cifs: Permission Denied
Installed Dolphin, opened network, entered Windows share folder address, it asked me for credentials and worked straight away. I think Nautilus is just too broken nowadays. Perhaps KDE is the better route?