SMB mount through fstab
I know this has been asked before, and Ive been trying everything theve done and still get no where.
as root doing mount -t smbfs -o username=admin,password=pass //winxp/share /mnt/winxp/share will work fine.
In /etc/fstab/ I put in
//winxp/share /mnt/winxp/share smbfs user=admin,password=pass,rw,user 0 0
root or user cant mount it. I tried leaving everything out but the user=admin and still get the same errors listed below.
Without the password in there it will prompt for password then give this error:
Gentoo ~ # mount //winxp/share
Password:
6769: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
Gentoo ~ #mount -t smbfs -o username=admin,password=pass //winxp/share /mnt/winxp/share
Gentoo ~ #
Putting it in on the command line works but I need want to be able to mount/unmount from user.
|