Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Feb 2004 16:58:18 -0500
From:      "HOLLOW, CHRISTOPHER" <christopher.hollow@cgi.com>
To:        darryl@osborne-ind.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mount a smb filesystem
Message-ID:  <40240DFA.3020608@cgi.com>
In-Reply-To: <009c01c3ecf6$17aa69e0$0701a8c0@darryl>
References:  <009c01c3ecf6$17aa69e0$0701a8c0@darryl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>
>  
>

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40240DFA.3020608>