Warnaud

Geek powered

Linux And Samba —

French version: http://arnaud.fortier-family.com/fr/linux-et-samba/

You know, sometimes I really like to waste my time, so I use Linux. And then I’am well served. Between (more and more) cryptic messages / logs (when they exists!!!) the fun is to change options at each and one version …

Today I was thinking of sharing data between computers … since I had no real will to setup a samba/nfs/whatevercrap server I thought : “let’s use the NAS!”
I have a Synology NAS with samba shares.
So I went directly here: https://wiki.archlinux.org/index.php/Samba#Client_configuration
I tried to mount it, as user, as root all I got was …
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Which means: (finger) well google it or die …
Result? -> http://tinyurl.com/m8b2hy3

As you can see the SAME error happend since … 2006 minimum but the solution … is absolutely NOT what you can find in these old posts . Same error different solutions!

So by searching more closely in time I discover this thread : http://forums.gentoo.org/viewtopic-p-7314476.html
And yes you need a new option, to mount your share that were working for ages… isn’t that super nice? I hope you enjoyed the time spending on Google/Forums/trying to make it work AGAIN !!!

So in your fstab, on your cifs mounts add “sec=ntlm” to the line and enjoy … the time you wasted tonight! Because of course it won be more secured NOR more quick … it will just work again!

I hope to see you again quickly for the next adventures of the free and open-source world!


Categorised as: Linux



Leave a Reply