Having read (what there is so far of) this entire thread, and not seeing anyone post the solution I used for about a year, I'll post it here. At the time I needed/wanted to mount the SharedDocs folder from my wife's WinXP machine on my Slackware 10.0 machine, but setting up my (now) old machine as a file server for our home network has eliminated that need.
Code:
//Windows_Machine/Share /mnt/mountpoint smbfs credentials=/path/to/credentials,uid=1001,gid=100 0 0
The uid and gid must be valid for your Linux box. They may also need certain/sufficient permissions, but I set that up a year ago and haven't had to think about it since -- it's just that good.
The credentials file (which I chose to make hidden and accessible only to root) is simply:
Quote:
username=Windows_username
password=Windows_password
|
Hope this is helpful!
Terje