From owner-freebsd-questions@FreeBSD.ORG Thu Jun 26 07:45:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A41D37B401 for ; Thu, 26 Jun 2003 07:45:13 -0700 (PDT) Received: from cwe.compwest.com.au (compwest.com.au [202.72.147.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3B3443F75 for ; Thu, 26 Jun 2003 07:45:11 -0700 (PDT) (envelope-from paul@bdug.org.au) Received: from ant.bdug.org.au (ant.parkview.compwest.com.au [202.72.147.43]) by cwe.compwest.com.au (8.12.6/8.11.6) with ESMTP id h5QEj4Kn018010 for ; Thu, 26 Jun 2003 22:45:05 +0800 (WST) (envelope-from paul@bdug.org.au) Received: from wks (wks.bdug.org.au [192.168.0.2]) by ant.bdug.org.au (8.12.9/8.12.6) with SMTP id h5QEj0fe024598 for ; Thu, 26 Jun 2003 22:45:00 +0800 (WST) (envelope-from paul@bdug.org.au) From: "Paul Hamilton" To: "Freebsd-Questions" Date: Thu, 26 Jun 2003 22:44:33 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Subject: tip on using mount_smbfs with the nsmb.conf config file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2003 14:45:13 -0000 Hi All, After spending 1-2 fruitless hours trying to track down why I couldn't automate my script to log into the local W2K server, I found that the mount_smbfs man file is incorrect. At least with FreeBSD 4.7 anyway. Maybe it just needs updating. The default global location for the nsmb.conf file should be the /etc directory, not the /usr/local/etc directory, as stated in the man file, and a few web pages I googled. ~.nsmbrc worked ok. One for the archives. Cheers, Paul Hamilton