mount.cifs in /etc/fstab
With the latest version of the kernel (2.6.6-1.435) I can at last mount shared Windows 2k folders using the command as root:
mount -t cifs //win2kmachine/D$ /home/myname/windows -o user=myname,pass=mypasswd
One problem is that if I use:
it doesn't work and produces error 13.
It would be useful to put this share either into /etc/fstab or as a line into /etc/rc.d/rc.local so that it all starts up automatically. I can put the mount command as written but then the password is easily available. Is there a better way? How can I put this into /etc/fstab?