It is a couple of days I'm struggling in mounting a samba shared directory in Ubuntu 16. I read all the relative posts but still cannot find a solution.

Here is the command I use:

sudo mount -vt cifs -o username=sdea,sec=ntlmssp,vers=1.0 //130.226.50.5/sdea/ /home/sdea/jess

and the error i get:

mount.cifs kernel mount options: ip=130.226.50.5,unc=\\130.226.50.5\sdea,sec=ntlmssp,vers=1.0,user=sdea,pass=********mount error(13): Permission denied

I can mount this directory on my Mac and on Ubuntu 14 (on another machine), without any sort of problem. So, I'm sure my credentials are right. I also tried to include different "sec" options like sec=nltm,nltmv2 etc.. but nothing. I always get permission denied.

The version of the cifs-utils installed is 6.3, the linux kernel is 4.13.0-26-generic. I don't have sudo privileges on the server, but the configuration should be right since I can mount the share on different machines.

Do some of you have some clue on what the problem could be?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.