The title is pretty self explainatory. FreeBSD 4.7. I entered a windows share to be automounted in fstab, but want to have it enter the password without prompting.
Possible? ________
Remember, you're unique... just like everyone else.
hrmm... well that didn't work. I get no errors, but it just doesn't mount the filesystem.
For now, I'm working around it by using a shell script in /usr/local/etc/rc.d and specifying the pass in ~/.nsmbrc, but I'd rather not do that.
Any other ideas to try with fstab? ________
Remember, you're unique... just like everyone else.
If you test it using the same options from the command line, such as mount -t smbfs -o username=foo,password=bar //server/share /mntpoint does it work... or give you any errors? Annihilannic.
It's the oddest thing, I get no errors from that either. It looks like it worked, but if I ls the newly mounted folder it's empty. If I use mount_smbfs it does work. Strange.
Would it make a difference that I'm mounting this share as /var/ftp/pub? This computer is the FTP server, but the content is actually located on the other win2k server.
It may just be easier to leave it like this than figure out what I'm doing wrong. ________
Remember, you're unique... just like everyone else.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.