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/Seagate\0402TB /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.
user=admin
instead ofusername=admin
, and without the'
apostrophe? Also, can you add theuser
option too? Sosudo mount -t cifs -o user,user=admin,password=password //192.168.1.130/LaCie ~/lacie
.admin
user is a local user right? Maybe you need to add the workgroup or the domain to it. Also, this thread over at the Ubuntu Forums seems to have a lot of info. Adding the optionsec=ntlm
orsec=ntlmv2
seems to solve the issue for some.sudo mount -t cifs -o username='administrator',password='<pwd>' //192.168.1.130/seagate /home/seagate