I'm trying to figure out how to share a network windows CIFS share ( I do not manage it ) with smbclient.
Initially I tried using the default Debian Lenny mounting application in Places->Connect to Server->Custom Location and I typed
(note: there's also a password to go along with my login)
So someone recommend to use smbclient except I did try various combinations based on interpreting my initial smb command but am not able to get the right syntax.
Someone mind helping? And also - what would I need to enter into /etc/fstab to perma mount?
Here's a screenshot on someone's Ubuntu of the exact error I receive while trying to copy it from the custom location mount:
Thanks to caliban, I was able to actually connect with 'smbclient'. My currently dilemma is just having a permanent mount for that, here is my attempt at editing /etc/fstab:
Below my /dev/scd0 entry for my CD ROM Drive:
//subdomain.maindomain.com/share /mnt/share smbfs username=DOMAIN/meder,password=mypass,umask=0002 0 0
I actually had created /mnt/share as root with mkdir, was I supposed to do that?
And are there any log files I can view which would report it failing to mount that?
I restarted 3 times fully and I see empty files in /mnt/share, no error messages or anything.
I actually modified the 'smbfs' in my /etc/fstab to be 'cifs' and it started working. I guess this means I'm not using smbfs/smb. It complained when I had it to 'smbfs' in /var/log/messages and said to read man mount.cifs.