From owner-freebsd-bugs Wed Nov 13 13:50: 4 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B2AD37B401 for ; Wed, 13 Nov 2002 13:50:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA7CC43E75 for ; Wed, 13 Nov 2002 13:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gADLo1x3084916 for ; Wed, 13 Nov 2002 13:50:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gADLo1Be084915; Wed, 13 Nov 2002 13:50:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E951737B401 for ; Wed, 13 Nov 2002 13:44:56 -0800 (PST) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id C900043E6E for ; Wed, 13 Nov 2002 13:44:55 -0800 (PST) (envelope-from thierry@pompo.net) Received: from graf.pompo.net (lyon-4-a7-62-147-51-245.dial.proxad.net [62.147.51.245]) by postfix4-1.free.fr (Postfix) with ESMTP id 80F34D059 for ; Wed, 13 Nov 2002 22:44:53 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id 643207519; Wed, 13 Nov 2002 22:24:16 +0100 (CET) Message-Id: <20021113212416.643207519@graf.pompo.net> Date: Wed, 13 Nov 2002 22:24:16 +0100 (CET) From: Thierry Thomas Reply-To: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/45273: contrib/smbfs: error in examples/dot.nsmbrc Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45273 >Category: misc >Synopsis: contrib/smbfs: error in examples/dot.nsmbrc >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 13 13:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.7-RC i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.7-RC FreeBSD 4.7-RC #0: Sat Sep 21 11:24:26 CEST 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386 >Description: In /usr/src/contrib/smbfs/examples/dot.nsmbrc you can read: # smbfs lookups configuration files in next order: # 1. ~/.nsmbrc # 2. /usr/local/etc/nsmb.conf - if this file found it will # override values with same keys from user files. but if you put nsmb.conf in /usr/local/etc it is ignored, it must be in /etc. >How-To-Repeat: Use mount_smbfs, for example with a -N from a script located in /usr/local/etc/rc.d, and it will fail if your nsmb.conf is not in /etc. >Fix: Just apply the following patch: --- /usr/src/contrib/smbfs/examples/dot.nsmbrc.orig Sat Aug 24 15:53:15 2002 +++ /usr/src/contrib/smbfs/examples/dot.nsmbrc Wed Nov 13 22:12:38 2002 @@ -4,7 +4,7 @@ # # smbfs lookups configuration files in next order: # 1. ~/.nsmbrc -# 2. /usr/local/etc/nsmb.conf - if this file found it will +# 2. /etc/nsmb.conf - if this file found it will # override values with same keys from user files. # # >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message