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 director= y cp /usr/src/contrib/smbfs/examples/smbfs.sh.sample /usr/local/etc/rc.d/sm= bfs.sh chmod a+x /usr/local/etc/rc.d/smbfs.sh create /etc/nsmb.conf with contents similar to the following: =09[default] =09workgroup=3DYOURDOMAIN =09[SERVERNAME] =09addr=3D192.168.0.102 =09[SERVERNAME:USERNAME] =09password=3Dthis_users_password I have found that USERNAME above must be in uppercase,=20 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: =09//username@server/share=09/mountpoint=09smbfs=09=09rw,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>