Hi sarahm,
I noticed this thread is a few months old so you might have already solved your problem. But if you haven't, here's what worked for me:
Add the following line to the [global] section of your smb.conf file.
Code:
client ntlmv2 auth = yes
That will allow you to connect using smb:// in your file browser.
If you would like to permanently mount the share as a network drive as I do, you can add it to your /etc/fstab file using cifs as the filesystem type and include the option sec=ntlmv2. You'll need to create a text file with your login credentials as follows:
Code:
username=******
password=******
Substitute your own username and password. Make sure there's nothing else in the file (watch for hidden bytes at the end of the file and delete them with a hex editor if necessary). It doesn't matter what you name the file, just save it somewhere secure (I suggest you hide the file, make root the owner and set the permissions to 600) and include the path to it in your fstab line with the option credentials=/path/path/filename.
You may already know this, but the file and directory permissions on a Samba share can only be set at mount time -- not while mounted. I've personally found this quite annoying, especially the first time I tried to use chmod and it pretended to work -- no errors -- but didn't change anything. As far as I can tell, that's just the way Samba is at this point.
Good luck!
David
Bookmarks