Date: Mon, 17 Jun 2002 15:33:10 -0600 From: "Mike A. Oligny" <freebsd@freebsd.schema.ca> To: Pete French <pfrench@firstcallgroup.co.uk>, stable@FreeBSD.ORG Subject: using smbfs.sh [solution] Message-ID: <200206171533.10671.freebsd@freebsd.schema.ca> In-Reply-To: <E17JuXO-00095N-00@mailhost.firstcallgroup.co.uk> References: <E17JuXO-00095N-00@mailhost.firstcallgroup.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On June 17, 2002 05:19 am, Pete French wrote: > Just a suggestion, but should > /usr/src/contrib/smbfs/examples/smbfs.sh.sample be copied to a directory cp /usr/src/contrib/smbfs/examples/smbfs.sh.sample /usr/local/etc/rc.d/smbfs.sh chmod a+x /usr/local/etc/rc.d/smbfs.sh create /etc/nsmb.conf with contents similar to the following: [default] workgroup=YOURDOMAIN [SERVERNAME] addr=192.168.0.102 [SERVERNAME:USERNAME] password=this_users_password I have found that USERNAME above must be in uppercase, otherwise it will not match and you will receive authentication errors. (perhaps this could be taken care of a little more gracefully; I don't think it is completely consistent... i think you can use lowercase in the //username@server/share) - /etc/fstab entries should look like this: //username@server/share /mountpoint smbfs rw,noauto -Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206171533.10671.freebsd>
