samba and fstab not playing nice
I have a samba server and client sucessfully up and running on my machine. The following command mounts a share from a winxp machine:
mount -t smbfs -o password=p //192.168.0.2/SharedDocs /mnt/winxp
Don't be fooled, though, the following command fails, reporting that the share name is invalid:
mount -t smbfs -o password=p //192.168.0.2/SharedDocs/ /mnt/winxp
While as root I can mount and unmount the filesystem whenever I want, other users can't. And the following entry in fstab also causes the invalid share name error:
//192.168.0.2/SharedDocs /mnt/winxp smbfs password=p,user 0 0
Variations such as removing the "user" argument and adding a "/" to the end of "...Docs" have no effect. I suspect fstab is automatically appending a "/" to the end of the mount command when it runs, and I seem to be powerless to stop it.
Any idea how I can get this to work?