From owner-freebsd-stable Mon Jun 17 14:33:21 2002 Delivered-To: freebsd-stable@freebsd.org Received: from freebsd.schema.ca (freebsd.schema.ca [142.59.253.48]) by hub.freebsd.org (Postfix) with ESMTP id 5BDAA37B41C for ; Mon, 17 Jun 2002 14:33:17 -0700 (PDT) Received: from halo1900.internal.backtrack.ca ([192.168.0.20]) by freebsd.schema.ca (8.12.3/8.12.2) with ESMTP id g5HLX9rY025490; Mon, 17 Jun 2002 15:33:10 -0600 (MDT) (envelope-from freebsd@freebsd.schema.ca) X-Authentication-Warning: freebsd.schema.ca: Host [192.168.0.20] claimed to be halo1900.internal.backtrack.ca Content-Type: text/plain; charset="iso-8859-1" From: "Mike A. Oligny" To: Pete French , stable@FreeBSD.ORG Subject: using smbfs.sh [solution] Date: Mon, 17 Jun 2002 15:33:10 -0600 X-Mailer: KMail [version 1.4] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206171533.10671.freebsd@freebsd.schema.ca> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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