From owner-freebsd-bugs Thu Sep 5 23:50:11 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 BFB4337B400 for ; Thu, 5 Sep 2002 23:50:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A9743E6E for ; Thu, 5 Sep 2002 23:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g866o2JU084149 for ; Thu, 5 Sep 2002 23:50:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g866o2MP084148; Thu, 5 Sep 2002 23:50:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A46137B400 for ; Thu, 5 Sep 2002 23:46:51 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FC7043E75 for ; Thu, 5 Sep 2002 23:46:51 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g866kmOT015151 for ; Thu, 5 Sep 2002 23:46:48 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g866km6D015150; Thu, 5 Sep 2002 23:46:48 -0700 (PDT) Message-Id: <200209060646.g866km6D015150@www.freebsd.org> Date: Thu, 5 Sep 2002 23:46:48 -0700 (PDT) From: Dmitriy Reka To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/42468: mount_smbfs incorrectly handled configuration file 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: 42468 >Category: misc >Synopsis: mount_smbfs incorrectly handled configuration file >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 05 23:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dmitriy Reka >Release: 4.6-STABLE >Organization: SUFSE >Environment: FreeBSD gw.sif.sumy.ua 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Jul 18 09:36:42 EEST 2002 dima@gw.sif.sumy.ua:/usr/src/sys/compile/SIF i386 >Description: mount_smbfs does not use password in configuration file when mounting from /etc/fstab mount_smbfs reports: smbfs: unable to open connection: syserr = Authentication error >How-To-Repeat: 1.add to /etc/fstab: //username@servername/sharename /mnt smbfs rw,-N,-Iserverip 2 2 2.add to /usr/local/etc/nsmb.conf: [default] workgroup=domainname [servername:username] charsets=koi8-r:cp866 addr=serverip password=plaintextpassword 3.run in the shell: mount /mnt >Fix: 1.In the /etc/fstab: remove -N switch add noauto flag 2.mount smbfs manually >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message