Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 77186  / 3 Years ago, sat, may 1, 2021, 4:07:53

I know this question has been asked before, but I've been looking for a solution for a couple of hours now and nothing seems to be working.



The frustrating thing is that it used to work on my previous install, so I know the commands I try should work.



I'm running a vanilla install of Ubuntu 13.04 server.



I have a server running at 192.168.1.130 and two shares: LaCie and Seagate 2TB.



I used to have these lines in my fstab file:



//192.168.1.130/Seagate0402TB /home/Windows cifs user=admin,password=password,uid=1000 0 0


Now that I re-installed my server, but don't need it permanently I tried the following:



sudo mount.cifs //192.168.1.130/LaCie ~/lacie -o user=admin


or



sudo mount -t cifs -o username='admin',password='<password>' //192.168.1.130/LaCie ~/lacie


However, I get the error mount error(13): Permission denied.



I'm sure the credentials are correct. Nothing has changed at the windows side.



Also, I installed the packages samba, cifs-utils too. Nothing helped.


More From » server

 Answers
7
//192.168.1.130/seagate /home/seagate cifs username=administrator,password=<pwd>,uid=1000 0 0 


This solved the problem! (i.e., leave the quotation marks out!)


[#29786] Sunday, May 2, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sconhoney

Total Points: 403
Total Questions: 118
Total Answers: 109

Location: Andorra
Member since Mon, Jan 9, 2023
1 Year ago
sconhoney questions
;