Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2002 00:50:04 -0700 (PDT)
From:      Vallo Kallaste <vallo@estcard.ee>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/42468: mount_smbfs incorrectly handled configuration file
Message-ID:  <200209060750.g867o4GR095196@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/42468; it has been noted by GNATS.

From: Vallo Kallaste <vallo@estcard.ee>
To: Dmitriy Reka <dima@sinsoft.com.ua>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/42468: mount_smbfs incorrectly handled configuration file
Date: Fri, 6 Sep 2002 10:40:31 +0300

 On Thu, Sep 05, 2002 at 11:46:48PM -0700, Dmitriy Reka <dima@sinsoft.com.ua> wrote:
 
 > 
 > >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:
 
 I've found by trial and error that /usr/local/etc is wrong place for
 nsmb.conf file. Use /etc/nsmb.conf and see what happens. The comment
 in /usr/share/examples/smbfs/dot.nsmbrc is at least confusing,
 there's actually /etc/nsmb.conf installed by default.
 -- 
 
 Vallo Kallaste
 vallo@estcard.ee

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209060750.g867o4GR095196>