mount a smb filesystem

HOLLOW, CHRISTOPHER christopher.hollow at cgi.com
Fri Feb 6 13:58:29 PST 2004


Try:


//servername/sharename /mountdirectory smbfs 
username=windowsuserename,password=windowspassword 0 0


HTH,

Christopher Hollow


Darryl Hoar wrote:

>Greetings,
>If you put a line like:
>
>//guest at myserver/misc       /test      smbfs     ro,noauto     0     0
>
>in /etc/fstab, is there a way to specify the pasword so that when you
>mount the filesystem, it doesn't prompt for the password ?
>
>I see that mount_smbfs uses .nsmbrc, but that has no effect when
>you use fstab.
>
>any help greatly appreciated.
>
>-Darryl
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
>  
>

-- 
Christopher Hollow - Technical Consultant
Infrastructure & Technology Support
Toronto, ON





More information about the freebsd-questions mailing list